pub enum SvgShape {
Square,
Circle,
RoundedSquare,
Vertical,
Horizontal,
Diamond,
}
Expand description
Different possible Shapes
Variants
Square
Square Shape
Circle
Circle Shape
RoundedSquare
RoundedSquare Shape
Vertical
Vertical Shape
Horizontal
Horizontal Shape
Diamond
Diamond Shape
Trait Implementations
sourceimpl Ord for SvgShape
impl Ord for SvgShape
sourceimpl PartialOrd<SvgShape> for SvgShape
impl PartialOrd<SvgShape> for SvgShape
sourcefn partial_cmp(&self, other: &SvgShape) -> Option<Ordering>
fn partial_cmp(&self, other: &SvgShape) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for SvgShape
impl StructuralEq for SvgShape
impl StructuralPartialEq for SvgShape
Auto Trait Implementations
impl RefUnwindSafe for SvgShape
impl Send for SvgShape
impl Sync for SvgShape
impl Unpin for SvgShape
impl UnwindSafe for SvgShape
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more