pub enum Style {
Free,
Fixed,
Selected,
Hover,
Failed,
Construction,
Draft,
Region,
Guide,
Handle,
}Expand description
What a visual means, which decides how it is drawn.
Variants§
Free
Can still move: an under-constrained sketch entity.
Fixed
Cannot move any more: a fully constrained one.
Selected
Selected — drawn so by the editor, whatever its own style.
Hover
What a click would take — drawn so by the editor.
Failed
Part of what cannot be satisfied.
Construction
Reference geometry that takes part in nothing but constraints.
Draft
What a tool would draw next.
Region
A filled area: a closed region of a sketch.
Guide
A help line: a spline’s control polygon.
Handle
Trait Implementations§
impl Copy for Style
impl Eq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnsafeUnpin for Style
impl UnwindSafe for Style
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