Struct minecraft_data::props_facing6_type2
source · pub struct props_facing6_type2(/* private fields */);Implementations§
source§impl props_facing6_type2
impl props_facing6_type2
pub const fn new() -> Self
pub const fn encode(self) -> u8
pub const fn decode(n: u8) -> Self
pub const fn type(self) -> prop_type_normal_sticky
pub const fn facing(self) -> prop_facing_north_east_south_west_up_down
pub const fn with_type(self, type: prop_type_normal_sticky) -> Self
pub const fn with_facing( self, facing: prop_facing_north_east_south_west_up_down ) -> Self
Trait Implementations§
source§impl Clone for props_facing6_type2
impl Clone for props_facing6_type2
source§fn clone(&self) -> props_facing6_type2
fn clone(&self) -> props_facing6_type2
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_facing6_type2
impl Hash for props_facing6_type2
source§impl PartialEq for props_facing6_type2
impl PartialEq for props_facing6_type2
source§fn eq(&self, other: &props_facing6_type2) -> bool
fn eq(&self, other: &props_facing6_type2) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for props_facing6_type2
impl Eq for props_facing6_type2
impl StructuralPartialEq for props_facing6_type2
Auto Trait Implementations§
impl Freeze for props_facing6_type2
impl RefUnwindSafe for props_facing6_type2
impl Send for props_facing6_type2
impl Sync for props_facing6_type2
impl Unpin for props_facing6_type2
impl UnwindSafe for props_facing6_type2
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