pub enum DatumComponent {
Axis(FrameAxis),
Plane(FrameAxis),
}Expand description
A part of a frame datum that can be used on its own. Its origin is not one: the frame as a whole is used as its origin already.
Variants§
Axis(FrameAxis)
One of its axes.
Plane(FrameAxis)
The plane normal to one of its axes: Plane(Z) is its xy plane.
Trait Implementations§
Source§impl Clone for DatumComponent
impl Clone for DatumComponent
Source§fn clone(&self) -> DatumComponent
fn clone(&self) -> DatumComponent
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 DatumComponent
Source§impl Debug for DatumComponent
impl Debug for DatumComponent
Source§impl<'de> Deserialize<'de> for DatumComponent
impl<'de> Deserialize<'de> for DatumComponent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DatumComponent
impl Display for DatumComponent
impl Eq for DatumComponent
Source§impl Hash for DatumComponent
impl Hash for DatumComponent
Source§impl PartialEq for DatumComponent
impl PartialEq for DatumComponent
Source§fn eq(&self, other: &DatumComponent) -> bool
fn eq(&self, other: &DatumComponent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatumComponent
impl Serialize for DatumComponent
impl StructuralPartialEq for DatumComponent
Auto Trait Implementations§
impl Freeze for DatumComponent
impl RefUnwindSafe for DatumComponent
impl Send for DatumComponent
impl Sync for DatumComponent
impl Unpin for DatumComponent
impl UnsafeUnpin for DatumComponent
impl UnwindSafe for DatumComponent
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