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