pub enum Handedness {
Left,
Right,
}
Expand description
Describes the “Handedness” of a given coordinate system. Affects math done in the space.
While a weird term, if you make your thumb X, your pointer Y, and your middle finger Z, the handedness can be determined by which hand can contort to represent the coordinate system.
For example
+X right, +Y up, +Z into the screen is left handed.
+X right, +Y up, +Z out of the screen is right handed.
Variants§
Trait Implementations§
Source§impl Clone for Handedness
impl Clone for Handedness
Source§fn clone(&self) -> Handedness
fn clone(&self) -> Handedness
Returns a duplicate 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 Handedness
impl Debug for Handedness
Source§impl Default for Handedness
impl Default for Handedness
Source§impl Hash for Handedness
impl Hash for Handedness
Source§impl PartialEq for Handedness
impl PartialEq for Handedness
impl Copy for Handedness
impl Eq for Handedness
impl StructuralPartialEq for Handedness
Auto Trait Implementations§
impl Freeze for Handedness
impl RefUnwindSafe for Handedness
impl Send for Handedness
impl Sync for Handedness
impl Unpin for Handedness
impl UnwindSafe for Handedness
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