Enum entmet_lib::datatypes::Axis2DVariant
source · #[repr(u8)]pub enum Axis2DVariant {
X = 0,
Y = 1,
}Expand description
Enum containing how a block can be oriented in a 2D plane
Variants§
Trait Implementations§
source§impl Clone for Axis2DVariant
impl Clone for Axis2DVariant
source§fn clone(&self) -> Axis2DVariant
fn clone(&self) -> Axis2DVariant
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Axis2DVariant
impl Debug for Axis2DVariant
source§impl PartialEq for Axis2DVariant
impl PartialEq for Axis2DVariant
source§fn eq(&self, other: &Axis2DVariant) -> bool
fn eq(&self, other: &Axis2DVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for Axis2DVariant
impl StructuralPartialEq for Axis2DVariant
Auto Trait Implementations§
impl Freeze for Axis2DVariant
impl RefUnwindSafe for Axis2DVariant
impl Send for Axis2DVariant
impl Sync for Axis2DVariant
impl Unpin for Axis2DVariant
impl UnwindSafe for Axis2DVariant
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