pub enum ShapeGroup {
Rectangle(Rectangle),
Mask(Mask),
Point(Label),
Ellipse(Ellipse),
Line(Line),
Polyline(Polyline),
Polygon(Polygon),
Label(Label),
}Variants§
Rectangle(Rectangle)
Mask(Mask)
Point(Label)
Ellipse(Ellipse)
Line(Line)
Polyline(Polyline)
Polygon(Polygon)
Label(Label)
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ShapeGroup
impl AsRef<str> for ShapeGroup
Source§impl Clone for ShapeGroup
impl Clone for ShapeGroup
Source§fn clone(&self) -> ShapeGroup
fn clone(&self) -> ShapeGroup
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 moreSource§impl Debug for ShapeGroup
impl Debug for ShapeGroup
Source§impl<'de> Deserialize<'de> for ShapeGroup
impl<'de> Deserialize<'de> for ShapeGroup
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
Source§impl Display for ShapeGroup
impl Display for ShapeGroup
Source§impl PartialEq for ShapeGroup
impl PartialEq for ShapeGroup
Source§fn eq(&self, other: &ShapeGroup) -> bool
fn eq(&self, other: &ShapeGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShapeGroup
impl Serialize for ShapeGroup
impl StructuralPartialEq for ShapeGroup
Source§impl VariantNames for ShapeGroup
impl VariantNames for ShapeGroup
Auto Trait Implementations§
impl Freeze for ShapeGroup
impl RefUnwindSafe for ShapeGroup
impl Send for ShapeGroup
impl Sync for ShapeGroup
impl Unpin for ShapeGroup
impl UnsafeUnpin for ShapeGroup
impl UnwindSafe for ShapeGroup
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