pub struct Datum<S: Scalar> {
pub kind: DatumKind,
pub frame: CoordinateSystem<S>,
}Expand description
One datum: a right-handed orthonormal frame, and which part of it the datum stands for. Every datum has a whole frame, whatever its kind, so anything built on it — a sketch on a plane, a datum offset from a point — has axes to be built along.
Fields§
§kind: DatumKind§frame: CoordinateSystem<S>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Datum<S>where
S: Freeze,
impl<S> RefUnwindSafe for Datum<S>where
S: RefUnwindSafe,
impl<S> Send for Datum<S>
impl<S> Sync for Datum<S>
impl<S> Unpin for Datum<S>where
S: Unpin,
impl<S> UnsafeUnpin for Datum<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Datum<S>where
S: UnwindSafe,
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