#[repr(u8)]pub enum V5Direction {
YPos = 0,
YNeg = 1,
XPos = 2,
XNeg = 3,
ZPos = 4,
ZNeg = 5,
}Variants§
Trait Implementations§
Source§impl Clone for V5Direction
impl Clone for V5Direction
Source§fn clone(&self) -> V5Direction
fn clone(&self) -> V5Direction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for V5Direction
Source§impl Debug for V5Direction
impl Debug for V5Direction
impl Eq for V5Direction
Source§impl PartialEq for V5Direction
impl PartialEq for V5Direction
impl StructuralPartialEq for V5Direction
Source§impl TryFrom<u8> for V5Direction
impl TryFrom<u8> for V5Direction
Source§type Error = TryFromPrimitiveError<V5Direction>
type Error = TryFromPrimitiveError<V5Direction>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for V5Direction
impl TryFromPrimitive for V5Direction
const NAME: &'static str = "V5Direction"
type Primitive = u8
type Error = TryFromPrimitiveError<V5Direction>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for V5Direction
impl RefUnwindSafe for V5Direction
impl Send for V5Direction
impl Sync for V5Direction
impl Unpin for V5Direction
impl UnsafeUnpin for V5Direction
impl UnwindSafe for V5Direction
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.