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