pub struct BorderEndEndRadiusStyleValue(pub LengthPercentage, pub Option<LengthPercentage>);Expand description
Represents the style value for border-end-end-radius as defined in css-borders-4.
CSS logical properties control borders, size, margin, and padding with directions and dimensions relative to the writing mode. For example, in a left to right, top to bottom writing mode, block-end refers to the bottom. Also known as flow relative.
The grammar is defined as:
<length-percentage [0,∞]>{1,2}Tuple Fields§
§0: LengthPercentage§1: Option<LengthPercentage>Trait Implementations§
Source§impl Clone for BorderEndEndRadiusStyleValue
impl Clone for BorderEndEndRadiusStyleValue
Source§fn clone(&self) -> BorderEndEndRadiusStyleValue
fn clone(&self) -> BorderEndEndRadiusStyleValue
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 BorderEndEndRadiusStyleValue
impl Debug for BorderEndEndRadiusStyleValue
Source§impl Hash for BorderEndEndRadiusStyleValue
impl Hash for BorderEndEndRadiusStyleValue
Source§impl Ord for BorderEndEndRadiusStyleValue
impl Ord for BorderEndEndRadiusStyleValue
Source§fn cmp(&self, other: &BorderEndEndRadiusStyleValue) -> Ordering
fn cmp(&self, other: &BorderEndEndRadiusStyleValue) -> 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 BorderEndEndRadiusStyleValue
impl<'a> Parse<'a> for BorderEndEndRadiusStyleValue
Source§impl PartialEq for BorderEndEndRadiusStyleValue
impl PartialEq for BorderEndEndRadiusStyleValue
Source§fn eq(&self, other: &BorderEndEndRadiusStyleValue) -> bool
fn eq(&self, other: &BorderEndEndRadiusStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BorderEndEndRadiusStyleValue
impl PartialOrd for BorderEndEndRadiusStyleValue
Source§impl<'a> Peek<'a> for BorderEndEndRadiusStyleValue
impl<'a> Peek<'a> for BorderEndEndRadiusStyleValue
Source§impl ToCursors for BorderEndEndRadiusStyleValue
impl ToCursors for BorderEndEndRadiusStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderEndEndRadiusStyleValue
impl StructuralPartialEq for BorderEndEndRadiusStyleValue
Auto Trait Implementations§
impl Freeze for BorderEndEndRadiusStyleValue
impl RefUnwindSafe for BorderEndEndRadiusStyleValue
impl Send for BorderEndEndRadiusStyleValue
impl Sync for BorderEndEndRadiusStyleValue
impl Unpin for BorderEndEndRadiusStyleValue
impl UnwindSafe for BorderEndEndRadiusStyleValue
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