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