pub enum RailShape {
NorthSouth,
EastWest,
AscendingEast,
AscendingWest,
AscendingNorth,
AscendingSouth,
SouthEast,
SouthWest,
NorthWest,
NorthEast,
}Available on crate features
1.20.2 and block-states only.Variants§
NorthSouth
EastWest
AscendingEast
AscendingWest
AscendingNorth
AscendingSouth
SouthEast
SouthWest
NorthWest
NorthEast
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RailShape
impl<'de> Deserialize<'de> for RailShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more