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