pub enum DatumKind {
Point,
Axis,
Plane,
Frame,
}Expand description
What a datum stands for: which part of its frame.
Variants§
Point
The frame’s origin.
Axis
The line through the frame’s origin along its w.
Plane
The plane through the frame’s origin normal to its w; u/v are
a sketch’s x/y on it.
Frame
The frame itself: a coordinate system — its origin, its three axes
and the three planes between them, each usable on its own (see
Datum::component).
Trait Implementations§
impl Copy for DatumKind
Source§impl<'de> Deserialize<'de> for DatumKind
impl<'de> Deserialize<'de> for DatumKind
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
impl Eq for DatumKind
impl StructuralPartialEq for DatumKind
Auto Trait Implementations§
impl Freeze for DatumKind
impl RefUnwindSafe for DatumKind
impl Send for DatumKind
impl Sync for DatumKind
impl Unpin for DatumKind
impl UnsafeUnpin for DatumKind
impl UnwindSafe for DatumKind
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