pub struct BorderImageOutsetStyleValue(pub NumberLength, pub Option<NumberLength>, pub Option<NumberLength>, pub Option<NumberLength>);Expand description
Represents the style value for border-image-outset as defined in css-borders-4.
The border-image CSS property draws an image around an element.
The grammar is defined as:
[ <length [0,∞]> | <number [0,∞]> ]{1,4}Tuple Fields§
§0: NumberLength§1: Option<NumberLength>§2: Option<NumberLength>§3: Option<NumberLength>Trait Implementations§
Source§impl Clone for BorderImageOutsetStyleValue
impl Clone for BorderImageOutsetStyleValue
Source§fn clone(&self) -> BorderImageOutsetStyleValue
fn clone(&self) -> BorderImageOutsetStyleValue
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 BorderImageOutsetStyleValue
impl Debug for BorderImageOutsetStyleValue
Source§impl Hash for BorderImageOutsetStyleValue
impl Hash for BorderImageOutsetStyleValue
Source§impl Ord for BorderImageOutsetStyleValue
impl Ord for BorderImageOutsetStyleValue
Source§fn cmp(&self, other: &BorderImageOutsetStyleValue) -> Ordering
fn cmp(&self, other: &BorderImageOutsetStyleValue) -> 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 BorderImageOutsetStyleValue
impl<'a> Parse<'a> for BorderImageOutsetStyleValue
Source§impl PartialOrd for BorderImageOutsetStyleValue
impl PartialOrd for BorderImageOutsetStyleValue
Source§impl<'a> Peek<'a> for BorderImageOutsetStyleValue
impl<'a> Peek<'a> for BorderImageOutsetStyleValue
Source§impl ToCursors for BorderImageOutsetStyleValue
impl ToCursors for BorderImageOutsetStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for BorderImageOutsetStyleValue
impl StructuralPartialEq for BorderImageOutsetStyleValue
Auto Trait Implementations§
impl Freeze for BorderImageOutsetStyleValue
impl RefUnwindSafe for BorderImageOutsetStyleValue
impl Send for BorderImageOutsetStyleValue
impl Sync for BorderImageOutsetStyleValue
impl Unpin for BorderImageOutsetStyleValue
impl UnwindSafe for BorderImageOutsetStyleValue
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