Struct entmet_lib::entities::entity::AbstractMinecart
source · pub struct AbstractMinecart {
pub custom_block_id: i32,
pub custom_block_y: i32,
pub show_custom_block: bool,
/* private fields */
}Expand description
An interface to store minecart data
Fields§
§custom_block_id: i32The costom block id
custom_block_y: i32The custom Y-Position of the block ( in 16ths of a block )
show_custom_block: boolWhether the custom block should be shown
Trait Implementations§
source§impl Default for AbstractMinecart
impl Default for AbstractMinecart
source§impl Deref for AbstractMinecart
impl Deref for AbstractMinecart
source§impl DerefMut for AbstractMinecart
impl DerefMut for AbstractMinecart
source§impl PartialEq for AbstractMinecart
impl PartialEq for AbstractMinecart
source§fn eq(&self, other: &AbstractMinecart) -> bool
fn eq(&self, other: &AbstractMinecart) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AbstractMinecart
Auto Trait Implementations§
impl Freeze for AbstractMinecart
impl RefUnwindSafe for AbstractMinecart
impl Send for AbstractMinecart
impl Sync for AbstractMinecart
impl Unpin for AbstractMinecart
impl UnwindSafe for AbstractMinecart
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more