pub enum Leaves {
None = 0,
Small = 1,
Large = 2,
}
Variants§
Trait Implementations§
Source§impl From<u16> for Leaves
impl From<u16> for Leaves
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl Property for Leaves
impl Property for Leaves
type Value = Leaves
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Leaves
impl Eq for Leaves
impl StructuralPartialEq for Leaves
Auto Trait Implementations§
impl Freeze for Leaves
impl RefUnwindSafe for Leaves
impl Send for Leaves
impl Sync for Leaves
impl Unpin for Leaves
impl UnwindSafe for Leaves
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