pub struct OutlineOffsetStyleValue(pub Length);Expand description
Represents the style value for outline-offset as defined in css-ui-4.
The outline-color, outline-style, and outline-width and outline-offset CSS properties style a line around an element, outside of the border.
The grammar is defined as:
<length>Tuple Fields§
§0: LengthTrait Implementations§
Source§impl Clone for OutlineOffsetStyleValue
impl Clone for OutlineOffsetStyleValue
Source§fn clone(&self) -> OutlineOffsetStyleValue
fn clone(&self) -> OutlineOffsetStyleValue
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 OutlineOffsetStyleValue
impl Debug for OutlineOffsetStyleValue
Source§impl Hash for OutlineOffsetStyleValue
impl Hash for OutlineOffsetStyleValue
Source§impl Ord for OutlineOffsetStyleValue
impl Ord for OutlineOffsetStyleValue
Source§fn cmp(&self, other: &OutlineOffsetStyleValue) -> Ordering
fn cmp(&self, other: &OutlineOffsetStyleValue) -> 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 OutlineOffsetStyleValue
impl<'a> Parse<'a> for OutlineOffsetStyleValue
Source§impl PartialEq for OutlineOffsetStyleValue
impl PartialEq for OutlineOffsetStyleValue
Source§impl PartialOrd for OutlineOffsetStyleValue
impl PartialOrd for OutlineOffsetStyleValue
Source§impl<'a> Peek<'a> for OutlineOffsetStyleValue
impl<'a> Peek<'a> for OutlineOffsetStyleValue
Source§impl ToCursors for OutlineOffsetStyleValue
impl ToCursors for OutlineOffsetStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OutlineOffsetStyleValue
impl StructuralPartialEq for OutlineOffsetStyleValue
Auto Trait Implementations§
impl Freeze for OutlineOffsetStyleValue
impl RefUnwindSafe for OutlineOffsetStyleValue
impl Send for OutlineOffsetStyleValue
impl Sync for OutlineOffsetStyleValue
impl Unpin for OutlineOffsetStyleValue
impl UnwindSafe for OutlineOffsetStyleValue
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