pub struct CornerShapeStyleValue(pub CornerTopLeftShapeStyleValue, pub Option<CornerTopLeftShapeStyleValue>, pub Option<CornerTopLeftShapeStyleValue>, pub Option<CornerTopLeftShapeStyleValue>);Expand description
Represents the style value for corner-shape as defined in css-borders-4.
The corner-shape CSS property sets the shape of an element’s corners when using border-radius, allowing for shapes other than rounded corners. For example, corner-shape: squircle is a shape in between a square and rounded corner.
The grammar is defined as:
<'corner-top-left-shape'>{1,4}Tuple Fields§
§0: CornerTopLeftShapeStyleValue§1: Option<CornerTopLeftShapeStyleValue>§2: Option<CornerTopLeftShapeStyleValue>§3: Option<CornerTopLeftShapeStyleValue>Trait Implementations§
Source§impl Clone for CornerShapeStyleValue
impl Clone for CornerShapeStyleValue
Source§fn clone(&self) -> CornerShapeStyleValue
fn clone(&self) -> CornerShapeStyleValue
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 CornerShapeStyleValue
impl Debug for CornerShapeStyleValue
Source§impl Hash for CornerShapeStyleValue
impl Hash for CornerShapeStyleValue
Source§impl Ord for CornerShapeStyleValue
impl Ord for CornerShapeStyleValue
Source§fn cmp(&self, other: &CornerShapeStyleValue) -> Ordering
fn cmp(&self, other: &CornerShapeStyleValue) -> 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 CornerShapeStyleValue
impl<'a> Parse<'a> for CornerShapeStyleValue
Source§impl PartialEq for CornerShapeStyleValue
impl PartialEq for CornerShapeStyleValue
Source§impl PartialOrd for CornerShapeStyleValue
impl PartialOrd for CornerShapeStyleValue
Source§impl<'a> Peek<'a> for CornerShapeStyleValue
impl<'a> Peek<'a> for CornerShapeStyleValue
Source§impl ToCursors for CornerShapeStyleValue
impl ToCursors for CornerShapeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for CornerShapeStyleValue
impl StructuralPartialEq for CornerShapeStyleValue
Auto Trait Implementations§
impl Freeze for CornerShapeStyleValue
impl RefUnwindSafe for CornerShapeStyleValue
impl Send for CornerShapeStyleValue
impl Sync for CornerShapeStyleValue
impl Unpin for CornerShapeStyleValue
impl UnwindSafe for CornerShapeStyleValue
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