pub enum MarkerKind {
Handle,
Endpoint,
Midpoint,
Center,
Intersection,
Nearest,
Grid,
Anchor,
}Expand description
Snap/handle marker kinds drawn by overlays.
Variants§
Handle
Selection grip.
Endpoint
Endpoint snap.
Midpoint
Midpoint snap.
Center
Center snap.
Intersection
Intersection snap.
Nearest
Point on curve.
Grid
Grid point.
Anchor
Quadrant / vertex / other anchors.
Trait Implementations§
Source§impl Clone for MarkerKind
impl Clone for MarkerKind
Source§fn clone(&self) -> MarkerKind
fn clone(&self) -> MarkerKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MarkerKind
Source§impl Debug for MarkerKind
impl Debug for MarkerKind
Source§impl<'de> Deserialize<'de> for MarkerKind
impl<'de> Deserialize<'de> for MarkerKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MarkerKind
Source§impl PartialEq for MarkerKind
impl PartialEq for MarkerKind
Source§fn eq(&self, other: &MarkerKind) -> bool
fn eq(&self, other: &MarkerKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MarkerKind
impl Serialize for MarkerKind
impl StructuralPartialEq for MarkerKind
Auto Trait Implementations§
impl Freeze for MarkerKind
impl RefUnwindSafe for MarkerKind
impl Send for MarkerKind
impl Sync for MarkerKind
impl Unpin for MarkerKind
impl UnsafeUnpin for MarkerKind
impl UnwindSafe for MarkerKind
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