pub enum Orientation {
DownEast = 0,
DownNorth = 1,
DownSouth = 2,
DownWest = 3,
UpEast = 4,
UpNorth = 5,
UpSouth = 6,
UpWest = 7,
WestUp = 8,
EastUp = 9,
NorthUp = 10,
SouthUp = 11,
}
Variants§
DownEast = 0
DownNorth = 1
DownSouth = 2
DownWest = 3
UpEast = 4
UpNorth = 5
UpSouth = 6
UpWest = 7
WestUp = 8
EastUp = 9
NorthUp = 10
SouthUp = 11
Trait Implementations§
Source§impl Clone for Orientation
impl Clone for Orientation
Source§fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
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 Orientation
impl Debug for Orientation
Source§impl From<u16> for Orientation
impl From<u16> for Orientation
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Orientation
impl PartialEq for Orientation
Source§impl Property for Orientation
impl Property for Orientation
type Value = Orientation
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Orientation
impl Eq for Orientation
impl StructuralPartialEq for Orientation
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnwindSafe for Orientation
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