pub enum SnapMode {
Auto,
Always,
Never,
}Expand description
Snapping behaviour for rectilinear paths.
Variants§
Auto
Snap paths consisting only of horizontal/vertical segments.
Always
Always snap vertices to pixel centres.
Never
Never snap.
Trait Implementations§
impl Copy for SnapMode
impl Eq for SnapMode
impl StructuralPartialEq for SnapMode
Auto Trait Implementations§
impl Forget for SnapMode
impl Freeze for SnapMode
impl Move for SnapMode
impl RefUnwindSafe for SnapMode
impl Send for SnapMode
impl Sync for SnapMode
impl Unpin for SnapMode
impl UnsafeUnpin for SnapMode
impl UnwindSafe for SnapMode
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