pub enum Tool {
Select,
Dimension,
Horizontal,
Vertical,
Radius,
Diameter,
Angle,
Note,
CenterMark,
}Expand description
A tool for annotating the sheet.
Variants§
Select
None: a click selects, a value is dragged.
Dimension
Whatever the picks call for: the distance between two points, a line’s length, the angle between two lines, a circle’s diameter or an arc’s radius.
Horizontal
Vertical
Radius
Diameter
Angle
Note
CenterMark
Trait Implementations§
impl Copy for Tool
impl Eq for Tool
impl StructuralPartialEq for Tool
Auto Trait Implementations§
impl Freeze for Tool
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnsafeUnpin for Tool
impl UnwindSafe for Tool
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.