pub enum ShapeKind {
Point,
Line,
Polyline,
Rect,
Circle,
Arc,
Path,
Polygon,
Text,
}Expand description
Shape kinds.
Variants§
Point
Point marker.
Line
Line segment.
Polyline
Polyline.
Rect
Rectangle.
Circle
Circle.
Arc
Arc.
Path
Bézier path.
Polygon
Polygon.
Text
Text.
Implementations§
Trait Implementations§
impl Copy for ShapeKind
Source§impl<'de> Deserialize<'de> for ShapeKind
impl<'de> Deserialize<'de> for ShapeKind
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 ShapeKind
Source§impl Ord for ShapeKind
impl Ord for ShapeKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ShapeKind
impl PartialOrd for ShapeKind
impl StructuralPartialEq for ShapeKind
Auto Trait Implementations§
impl Freeze for ShapeKind
impl RefUnwindSafe for ShapeKind
impl Send for ShapeKind
impl Sync for ShapeKind
impl Unpin for ShapeKind
impl UnsafeUnpin for ShapeKind
impl UnwindSafe for ShapeKind
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