pub enum ForwardAxis {
PositiveX,
NegativeX,
PositiveY,
NegativeY,
PositiveZ,
NegativeZ,
}Expand description
Signed world axis used as forward.
Variants§
PositiveX
Positive X is forward.
NegativeX
Negative X is forward.
PositiveY
Positive Y is forward.
NegativeY
Negative Y is forward.
PositiveZ
Positive Z is forward.
NegativeZ
Negative Z is forward.
Trait Implementations§
Source§impl Clone for ForwardAxis
impl Clone for ForwardAxis
Source§fn clone(&self) -> ForwardAxis
fn clone(&self) -> ForwardAxis
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 ForwardAxis
Source§impl Debug for ForwardAxis
impl Debug for ForwardAxis
impl Eq for ForwardAxis
Source§impl Ord for ForwardAxis
impl Ord for ForwardAxis
Source§fn cmp(&self, other: &ForwardAxis) -> Ordering
fn cmp(&self, other: &ForwardAxis) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ForwardAxis
impl PartialEq for ForwardAxis
Source§impl PartialOrd for ForwardAxis
impl PartialOrd for ForwardAxis
impl StructuralPartialEq for ForwardAxis
Auto Trait Implementations§
impl Freeze for ForwardAxis
impl RefUnwindSafe for ForwardAxis
impl Send for ForwardAxis
impl Sync for ForwardAxis
impl Unpin for ForwardAxis
impl UnsafeUnpin for ForwardAxis
impl UnwindSafe for ForwardAxis
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