pub struct CornerEndEndShapeStyleValue(pub CornerShapeValue);Expand description
Represents the style value for corner-end-end-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-shape-value>Tuple Fields§
§0: CornerShapeValueTrait Implementations§
Source§impl Clone for CornerEndEndShapeStyleValue
impl Clone for CornerEndEndShapeStyleValue
Source§fn clone(&self) -> CornerEndEndShapeStyleValue
fn clone(&self) -> CornerEndEndShapeStyleValue
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 CornerEndEndShapeStyleValue
impl Debug for CornerEndEndShapeStyleValue
Source§impl Hash for CornerEndEndShapeStyleValue
impl Hash for CornerEndEndShapeStyleValue
Source§impl Ord for CornerEndEndShapeStyleValue
impl Ord for CornerEndEndShapeStyleValue
Source§fn cmp(&self, other: &CornerEndEndShapeStyleValue) -> Ordering
fn cmp(&self, other: &CornerEndEndShapeStyleValue) -> 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 CornerEndEndShapeStyleValue
impl<'a> Parse<'a> for CornerEndEndShapeStyleValue
Source§impl PartialOrd for CornerEndEndShapeStyleValue
impl PartialOrd for CornerEndEndShapeStyleValue
Source§impl<'a> Peek<'a> for CornerEndEndShapeStyleValue
impl<'a> Peek<'a> for CornerEndEndShapeStyleValue
Source§impl ToCursors for CornerEndEndShapeStyleValue
impl ToCursors for CornerEndEndShapeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for CornerEndEndShapeStyleValue
impl StructuralPartialEq for CornerEndEndShapeStyleValue
Auto Trait Implementations§
impl Freeze for CornerEndEndShapeStyleValue
impl RefUnwindSafe for CornerEndEndShapeStyleValue
impl Send for CornerEndEndShapeStyleValue
impl Sync for CornerEndEndShapeStyleValue
impl Unpin for CornerEndEndShapeStyleValue
impl UnwindSafe for CornerEndEndShapeStyleValue
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