pub struct Annotations(pub Vec<ViewAnnotation>);Expand description
What a step draws on the part besides its topology — cosmetic threads —
the value of its target annotations.
Tuple Fields§
§0: Vec<ViewAnnotation>Trait Implementations§
Source§impl Clone for Annotations
impl Clone for Annotations
Source§fn clone(&self) -> Annotations
fn clone(&self) -> Annotations
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 Annotations
impl Debug for Annotations
Source§impl Default for Annotations
impl Default for Annotations
Source§fn default() -> Annotations
fn default() -> Annotations
Returns the “default value” for a type. Read more
Source§impl HasElements<Annotations> for Annotations
impl HasElements<Annotations> for Annotations
Source§type Element<'a> = &'a Annotations
type Element<'a> = &'a Annotations
What an element resolves to: a borrow of it, or what it gives.
Source§fn element(&self, name: &str) -> GeopResult<&Annotations>
fn element(&self, name: &str) -> GeopResult<&Annotations>
The element
name, or why there is none.Source§fn names_target(name: &str) -> bool
fn names_target(name: &str) -> bool
Whether the target named
name could be one of this type: what
tells a pick of an element of it from one of a target of another
type with elements of the same kind (ElementReference::from_picked).
The singleton’s name, for a singleton; any name, by default.Source§impl Kind for Annotations
Read whole.
impl Kind for Annotations
Read whole.
Source§impl PartialEq for Annotations
impl PartialEq for Annotations
impl StructuralPartialEq for Annotations
Source§impl Target for Annotations
Each step’s own.
impl Target for Annotations
Each step’s own.
Source§const CHAIN: bool = false
const CHAIN: bool = false
Whether several steps may produce a target of this type, each from
what the steps before left (see
crate::reader::Reader::previous):
the model, the datums, the parameters’ values, the listings — what
a program accumulates. A target that is not a chain — a sketch, a
placed part — has one producer, and a second is an error naming
both.Auto Trait Implementations§
impl Freeze for Annotations
impl RefUnwindSafe for Annotations
impl Send for Annotations
impl Sync for Annotations
impl Unpin for Annotations
impl UnsafeUnpin for Annotations
impl UnwindSafe for Annotations
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