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