pub struct Pmi {
pub dimensions: Vec<Dimension>,
pub tolerances: Vec<GeometricTolerance>,
pub datums: Vec<Datum>,
pub targets: Vec<DatumTarget>,
pub callouts: Vec<Callout>,
}Expand description
A document’s PMI, in file order: the semantic annotations, the targets a datum is actually contacted at, and the drawn presentation.
Fields§
§dimensions: Vec<Dimension>Dimensional characteristics.
tolerances: Vec<GeometricTolerance>Geometric tolerances.
datums: Vec<Datum>Datums.
targets: Vec<DatumTarget>The targets datums are established at.
callouts: Vec<Callout>The drawn annotations.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pmi
impl RefUnwindSafe for Pmi
impl Send for Pmi
impl Sync for Pmi
impl Unpin for Pmi
impl UnsafeUnpin for Pmi
impl UnwindSafe for Pmi
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.