pub struct Measurement {
pub entities: Vec<PickedElement>,
pub values: Vec<Measured>,
pub witness: Option<[Vector3; 2]>,
pub plane: Option<CoordinateSystem>,
pub error: Option<String>,
}Expand description
What picked entities measure.
Fields§
§entities: Vec<PickedElement>The entities measured, as picked.
values: Vec<Measured>§witness: Option<[Vector3; 2]>Where the least distance between two entities is attained: a point on each.
plane: Option<CoordinateSystem>The plane of one planar entity picked alone — a planar face, a datum plane — to cut a section view with.
error: Option<String>Why something could not be measured.
Implementations§
Trait Implementations§
Source§impl Clone for Measurement
impl Clone for Measurement
Source§fn clone(&self) -> Measurement
fn clone(&self) -> Measurement
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 moreSource§impl Debug for Measurement
impl Debug for Measurement
Auto Trait Implementations§
impl Freeze for Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnsafeUnpin for Measurement
impl UnwindSafe for Measurement
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