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