Struct minecraft_data::props_facing4
source · pub struct props_facing4(/* private fields */);Implementations§
source§impl props_facing4
impl props_facing4
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_north_south_west_east
pub const fn with_facing( self, facing: prop_facing_north_south_west_east ) -> Self
Trait Implementations§
source§impl Clone for props_facing4
impl Clone for props_facing4
source§fn clone(&self) -> props_facing4
fn clone(&self) -> props_facing4
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_facing4
impl Hash for props_facing4
source§impl PartialEq for props_facing4
impl PartialEq for props_facing4
source§fn eq(&self, other: &props_facing4) -> bool
fn eq(&self, other: &props_facing4) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for props_facing4
impl Eq for props_facing4
impl StructuralEq for props_facing4
impl StructuralPartialEq for props_facing4
Auto Trait Implementations§
impl RefUnwindSafe for props_facing4
impl Send for props_facing4
impl Sync for props_facing4
impl Unpin for props_facing4
impl UnwindSafe for props_facing4
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