pub struct CornerInlineEndShapeStyleValue(pub CornerTopLeftShapeStyleValue, pub Option<CornerTopLeftShapeStyleValue>);Expand description
Represents the style value for corner-inline-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-top-left-shape'>{1,2}Tuple Fields§
§0: CornerTopLeftShapeStyleValue§1: Option<CornerTopLeftShapeStyleValue>Trait Implementations§
Source§impl Clone for CornerInlineEndShapeStyleValue
impl Clone for CornerInlineEndShapeStyleValue
Source§fn clone(&self) -> CornerInlineEndShapeStyleValue
fn clone(&self) -> CornerInlineEndShapeStyleValue
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 Ord for CornerInlineEndShapeStyleValue
impl Ord for CornerInlineEndShapeStyleValue
Source§fn cmp(&self, other: &CornerInlineEndShapeStyleValue) -> Ordering
fn cmp(&self, other: &CornerInlineEndShapeStyleValue) -> 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 CornerInlineEndShapeStyleValue
impl<'a> Parse<'a> for CornerInlineEndShapeStyleValue
Source§impl PartialEq for CornerInlineEndShapeStyleValue
impl PartialEq for CornerInlineEndShapeStyleValue
Source§fn eq(&self, other: &CornerInlineEndShapeStyleValue) -> bool
fn eq(&self, other: &CornerInlineEndShapeStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CornerInlineEndShapeStyleValue
impl PartialOrd for CornerInlineEndShapeStyleValue
Source§impl<'a> Peek<'a> for CornerInlineEndShapeStyleValue
impl<'a> Peek<'a> for CornerInlineEndShapeStyleValue
Source§impl ToCursors for CornerInlineEndShapeStyleValue
impl ToCursors for CornerInlineEndShapeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for CornerInlineEndShapeStyleValue
impl StructuralPartialEq for CornerInlineEndShapeStyleValue
Auto Trait Implementations§
impl Freeze for CornerInlineEndShapeStyleValue
impl RefUnwindSafe for CornerInlineEndShapeStyleValue
impl Send for CornerInlineEndShapeStyleValue
impl Sync for CornerInlineEndShapeStyleValue
impl Unpin for CornerInlineEndShapeStyleValue
impl UnwindSafe for CornerInlineEndShapeStyleValue
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