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