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