pub struct PmiAnnotationReport {
pub id: String,
pub kind: String,
pub enabled: bool,
pub status: PmiStatus,
pub message: String,
pub text: String,
pub value: Option<f64>,
pub unit: String,
pub references: Vec<String>,
pub label_world: [f64; 3],
pub plane: Option<PmiPlane>,
pub geometry: PmiGeometry,
}Expand description
One resolved annotation.
Fields§
§id: String§kind: String§enabled: bool§status: PmiStatus§message: String§text: StringThe display text (value + tolerance block, note / leader text, hole callout, datum letter, FCF cells joined).
value: Option<f64>The measured value (length in model units, angle in degrees).
unit: String"mm" / "deg" / "".
references: Vec<String>The scene entity names the annotation resolved (for hover highlighting and the STEP shape aspects), in reference order.
label_world: [f64; 3]The label anchor: the stored labelWorld, else the geometry’s default
— projected onto the annotation plane when one is picked.
plane: Option<PmiPlane>The picked annotation plane; None aligns to the view camera.
geometry: PmiGeometryTrait Implementations§
Source§impl Clone for PmiAnnotationReport
impl Clone for PmiAnnotationReport
Source§fn clone(&self) -> PmiAnnotationReport
fn clone(&self) -> PmiAnnotationReport
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 PmiAnnotationReport
impl Debug for PmiAnnotationReport
Source§impl<'de> Deserialize<'de> for PmiAnnotationReport
impl<'de> Deserialize<'de> for PmiAnnotationReport
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 PartialEq for PmiAnnotationReport
impl PartialEq for PmiAnnotationReport
Source§impl Serialize for PmiAnnotationReport
impl Serialize for PmiAnnotationReport
impl StructuralPartialEq for PmiAnnotationReport
Auto Trait Implementations§
impl Freeze for PmiAnnotationReport
impl RefUnwindSafe for PmiAnnotationReport
impl Send for PmiAnnotationReport
impl Sync for PmiAnnotationReport
impl Unpin for PmiAnnotationReport
impl UnsafeUnpin for PmiAnnotationReport
impl UnwindSafe for PmiAnnotationReport
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