pub enum Shape {
NorthSouth = 0,
EastWest = 1,
AscendingEast = 2,
AscendingWest = 3,
AscendingNorth = 4,
AscendingSouth = 5,
SouthEast = 6,
SouthWest = 7,
NorthWest = 8,
NorthEast = 9,
}
Variants§
NorthSouth = 0
EastWest = 1
AscendingEast = 2
AscendingWest = 3
AscendingNorth = 4
AscendingSouth = 5
SouthEast = 6
SouthWest = 7
NorthWest = 8
NorthEast = 9
Trait Implementations§
Source§impl From<u16> for Shape
impl From<u16> for Shape
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl Property for Shape
impl Property for Shape
type Value = Shape
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Shape
impl Eq for Shape
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
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