Struct minecraft_data::props_enabled2_facing5
source · pub struct props_enabled2_facing5(/* private fields */);Implementations§
source§impl props_enabled2_facing5
impl props_enabled2_facing5
pub const fn new() -> Self
pub const fn encode(self) -> u8
pub const fn decode(n: u8) -> Self
pub const fn facing(self) -> prop_facing_down_north_south_west_east
pub const fn enabled(self) -> prop_enabled
pub const fn with_facing( self, facing: prop_facing_down_north_south_west_east ) -> Self
pub const fn with_enabled(self, enabled: prop_enabled) -> Self
Trait Implementations§
source§impl Clone for props_enabled2_facing5
impl Clone for props_enabled2_facing5
source§fn clone(&self) -> props_enabled2_facing5
fn clone(&self) -> props_enabled2_facing5
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Hash for props_enabled2_facing5
impl Hash for props_enabled2_facing5
source§impl PartialEq for props_enabled2_facing5
impl PartialEq for props_enabled2_facing5
source§fn eq(&self, other: &props_enabled2_facing5) -> bool
fn eq(&self, other: &props_enabled2_facing5) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for props_enabled2_facing5
impl Eq for props_enabled2_facing5
impl StructuralEq for props_enabled2_facing5
impl StructuralPartialEq for props_enabled2_facing5
Auto Trait Implementations§
impl RefUnwindSafe for props_enabled2_facing5
impl Send for props_enabled2_facing5
impl Sync for props_enabled2_facing5
impl Unpin for props_enabled2_facing5
impl UnwindSafe for props_enabled2_facing5
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