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