pub struct BorderBottomRightRadiusStyleValue(pub LengthPercentage, pub Option<LengthPercentage>);Expand description
Represents the style value for border-bottom-right-radius as defined in css-borders-4.
The border-radius CSS property rounds the corners of the border drawn around an element.
The grammar is defined as:
<length-percentage [0,∞]>{1,2}Tuple Fields§
§0: LengthPercentage§1: Option<LengthPercentage>Trait Implementations§
Source§impl Clone for BorderBottomRightRadiusStyleValue
impl Clone for BorderBottomRightRadiusStyleValue
Source§fn clone(&self) -> BorderBottomRightRadiusStyleValue
fn clone(&self) -> BorderBottomRightRadiusStyleValue
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 BorderBottomRightRadiusStyleValue
impl Ord for BorderBottomRightRadiusStyleValue
Source§fn cmp(&self, other: &BorderBottomRightRadiusStyleValue) -> Ordering
fn cmp(&self, other: &BorderBottomRightRadiusStyleValue) -> 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 BorderBottomRightRadiusStyleValue
impl<'a> Parse<'a> for BorderBottomRightRadiusStyleValue
Source§impl PartialEq for BorderBottomRightRadiusStyleValue
impl PartialEq for BorderBottomRightRadiusStyleValue
Source§fn eq(&self, other: &BorderBottomRightRadiusStyleValue) -> bool
fn eq(&self, other: &BorderBottomRightRadiusStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BorderBottomRightRadiusStyleValue
impl PartialOrd for BorderBottomRightRadiusStyleValue
Source§impl<'a> Peek<'a> for BorderBottomRightRadiusStyleValue
impl<'a> Peek<'a> for BorderBottomRightRadiusStyleValue
Source§impl ToCursors for BorderBottomRightRadiusStyleValue
impl ToCursors for BorderBottomRightRadiusStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderBottomRightRadiusStyleValue
impl StructuralPartialEq for BorderBottomRightRadiusStyleValue
Auto Trait Implementations§
impl Freeze for BorderBottomRightRadiusStyleValue
impl RefUnwindSafe for BorderBottomRightRadiusStyleValue
impl Send for BorderBottomRightRadiusStyleValue
impl Sync for BorderBottomRightRadiusStyleValue
impl Unpin for BorderBottomRightRadiusStyleValue
impl UnwindSafe for BorderBottomRightRadiusStyleValue
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