pub enum RelativeSide {
Bottom,
Top,
Back,
Front,
Right,
Left,
}
Expand description
A relative side of a block.
Variants§
Trait Implementations§
Source§impl From<ActionSide> for Relative
impl From<ActionSide> for Relative
Source§fn from(x: ActionSide) -> Self
fn from(x: ActionSide) -> Self
Converts to this type from the input type.
Source§impl From<MoveDirection> for Relative
impl From<MoveDirection> for Relative
Source§fn from(x: MoveDirection) -> Self
fn from(x: MoveDirection) -> Self
Converts to this type from the input type.
Source§impl Ord for Relative
impl Ord for Relative
Source§impl PartialOrd for Relative
impl PartialOrd for Relative
Source§impl TryFrom<Relative> for ActionSide
impl TryFrom<Relative> for ActionSide
Source§type Error = TryFromRelativeSideError
type Error = TryFromRelativeSideError
The type returned in the event of a conversion error.
Source§impl TryFrom<Relative> for MoveDirection
impl TryFrom<Relative> for MoveDirection
Source§type Error = TryFromRelativeSideError
type Error = TryFromRelativeSideError
The type returned in the event of a conversion error.
impl Copy for Relative
impl Eq for Relative
impl Side for Relative
impl StructuralPartialEq for Relative
Auto Trait Implementations§
impl Freeze for Relative
impl RefUnwindSafe for Relative
impl Send for Relative
impl Sync for Relative
impl Unpin for Relative
impl UnwindSafe for Relative
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