pub enum LeafLitterSegmentAmount {
_1 = 0,
_2 = 1,
_3 = 2,
_4 = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for LeafLitterSegmentAmount
impl Clone for LeafLitterSegmentAmount
Source§fn clone(&self) -> LeafLitterSegmentAmount
fn clone(&self) -> LeafLitterSegmentAmount
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 Debug for LeafLitterSegmentAmount
impl Debug for LeafLitterSegmentAmount
Source§impl From<u16> for LeafLitterSegmentAmount
impl From<u16> for LeafLitterSegmentAmount
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LeafLitterSegmentAmount
impl PartialEq for LeafLitterSegmentAmount
Source§impl Property for LeafLitterSegmentAmount
impl Property for LeafLitterSegmentAmount
type Value = LeafLitterSegmentAmount
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for LeafLitterSegmentAmount
impl Eq for LeafLitterSegmentAmount
impl StructuralPartialEq for LeafLitterSegmentAmount
Auto Trait Implementations§
impl Freeze for LeafLitterSegmentAmount
impl RefUnwindSafe for LeafLitterSegmentAmount
impl Send for LeafLitterSegmentAmount
impl Sync for LeafLitterSegmentAmount
impl Unpin for LeafLitterSegmentAmount
impl UnwindSafe for LeafLitterSegmentAmount
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