pub struct Drawn {
pub a: [f64; 3],
pub b: [f64; 3],
pub generation: u32,
pub joined: bool,
}Expand description
One draw step the Pen took: a segment in draw-step units, the
generation it was drawn at, and whether it continues the segment drawn just
before it.
Fields§
§a: [f64; 3]Where the step began, on on_grid’s grid.
b: [f64; 3]Where it ended, one unit along the heading.
generation: u32How many branch pushes were open: the colour axis (ADR-0059).
joined: boolWhether the pen was still on the paper from the previous draw step, so the two meet on one joint. A move, a push or a pop breaks the run.
Trait Implementations§
impl Copy for Drawn
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