pub struct PmiPresentation {
pub polylines: Vec<Vec<[f64; 3]>>,
pub arrows: Vec<[[f64; 3]; 3]>,
pub frames: Vec<Vec<[f64; 3]>>,
pub text: String,
pub text_anchor: [f64; 3],
pub texts: Vec<TextRun>,
}Expand description
The drawn presentation.
Fields§
§polylines: Vec<Vec<[f64; 3]>>Open polylines: dimension lines, extension lines, leaders, arcs, trace segments.
arrows: Vec<[[f64; 3]; 3]>Filled arrowheads (and the datum triangle), as triangles.
frames: Vec<Vec<[f64; 3]>>Closed frames (datum box, FCF cells) — drawn in the STEP presentation; the viewport draws its label chip instead.
text: StringThe text and its anchor (the label position) — the viewport’s chip.
text_anchor: [f64; 3]§texts: Vec<TextRun>The text as placed runs — one centred on the label, or the datum
letter in its box, or one per FCF cell — which the STEP presentation
strokes into polylines ([TextRun::strokes]).
Trait Implementations§
Source§impl Clone for Presentation
impl Clone for Presentation
Source§fn clone(&self) -> Presentation
fn clone(&self) -> Presentation
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 Presentation
impl Debug for Presentation
Source§impl Default for Presentation
impl Default for Presentation
Source§fn default() -> Presentation
fn default() -> Presentation
Returns the “default value” for a type. Read more
Source§impl PartialEq for Presentation
impl PartialEq for Presentation
impl StructuralPartialEq for Presentation
Auto Trait Implementations§
impl Freeze for Presentation
impl RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin for Presentation
impl UnsafeUnpin for Presentation
impl UnwindSafe for Presentation
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