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