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