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