Enum level_lib::anvil::region::chunk::chunk_data::structure::Orientation
source · pub enum Orientation {
North = 0,
East = 1,
South = 2,
West = 3,
}Expand description
Represents the orientation of a structure
Variants§
Trait Implementations§
source§impl Debug for Orientation
impl Debug for Orientation
source§impl From<i32> for Orientation
impl From<i32> for Orientation
source§impl PartialEq for Orientation
impl PartialEq for Orientation
source§fn eq(&self, other: &Orientation) -> bool
fn eq(&self, other: &Orientation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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