pub struct Drawn {
pub lines: Vec<(Layer, Vec<P>)>,
pub arrows: Vec<[P; 3]>,
pub text: Option<Text>,
pub label: P,
pub anchor: P,
}Expand description
An annotation as it is drawn on the sheet: its lines, each on its layer, its arrowheads, and its text.
Fields§
§lines: Vec<(Layer, Vec<P>)>§arrows: Vec<[P; 3]>Filled triangles.
text: Option<Text>§label: PWhere its value is shown, and dragged by.
anchor: PThe point it is placed from (see Annotation).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Drawn
Auto Trait Implementations§
impl Freeze for Drawn
impl RefUnwindSafe for Drawn
impl Send for Drawn
impl Sync for Drawn
impl Unpin for Drawn
impl UnsafeUnpin for Drawn
impl UnwindSafe for Drawn
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