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