pub enum CornerShapeValue {
Round(Ident),
Scoop(Ident),
Bevel(Ident),
Notch(Ident),
Square(Ident),
Squircle(Ident),
SuperellipseFunction(SuperellipseFunction),
}Expand description
https://drafts.csswg.org/css-borders-4/#typedef-corner-shape-value
<corner-shape-value> = round | scoop | bevel | notch | square | squircle | <superellipse()>Variants§
Round(Ident)
Scoop(Ident)
Bevel(Ident)
Notch(Ident)
Square(Ident)
Squircle(Ident)
SuperellipseFunction(SuperellipseFunction)
Trait Implementations§
Source§impl Clone for CornerShapeValue
impl Clone for CornerShapeValue
Source§fn clone(&self) -> CornerShapeValue
fn clone(&self) -> CornerShapeValue
Returns a duplicate of the value. Read more
1.0.0 · 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 CornerShapeValue
impl Debug for CornerShapeValue
Source§impl Hash for CornerShapeValue
impl Hash for CornerShapeValue
Source§impl Ord for CornerShapeValue
impl Ord for CornerShapeValue
Source§fn cmp(&self, other: &CornerShapeValue) -> Ordering
fn cmp(&self, other: &CornerShapeValue) -> Ordering
1.21.0 · 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<'a> Parse<'a> for CornerShapeValue
impl<'a> Parse<'a> for CornerShapeValue
Source§impl PartialEq for CornerShapeValue
impl PartialEq for CornerShapeValue
Source§impl PartialOrd for CornerShapeValue
impl PartialOrd for CornerShapeValue
Source§impl<'a> Peek<'a> for CornerShapeValue
impl<'a> Peek<'a> for CornerShapeValue
Source§impl ToCursors for CornerShapeValue
impl ToCursors for CornerShapeValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for CornerShapeValue
impl StructuralPartialEq for CornerShapeValue
Auto Trait Implementations§
impl Freeze for CornerShapeValue
impl RefUnwindSafe for CornerShapeValue
impl Send for CornerShapeValue
impl Sync for CornerShapeValue
impl Unpin for CornerShapeValue
impl UnwindSafe for CornerShapeValue
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