pub struct OutlineWidthStyleValue(pub LineWidth);Expand description
Represents the style value for outline-width 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:
<line-width>Tuple Fields§
§0: LineWidthTrait Implementations§
Source§impl Clone for OutlineWidthStyleValue
impl Clone for OutlineWidthStyleValue
Source§fn clone(&self) -> OutlineWidthStyleValue
fn clone(&self) -> OutlineWidthStyleValue
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 OutlineWidthStyleValue
impl Debug for OutlineWidthStyleValue
Source§impl Hash for OutlineWidthStyleValue
impl Hash for OutlineWidthStyleValue
Source§impl Ord for OutlineWidthStyleValue
impl Ord for OutlineWidthStyleValue
Source§fn cmp(&self, other: &OutlineWidthStyleValue) -> Ordering
fn cmp(&self, other: &OutlineWidthStyleValue) -> 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 OutlineWidthStyleValue
impl<'a> Parse<'a> for OutlineWidthStyleValue
Source§impl PartialEq for OutlineWidthStyleValue
impl PartialEq for OutlineWidthStyleValue
Source§impl PartialOrd for OutlineWidthStyleValue
impl PartialOrd for OutlineWidthStyleValue
Source§impl<'a> Peek<'a> for OutlineWidthStyleValue
impl<'a> Peek<'a> for OutlineWidthStyleValue
Source§impl ToCursors for OutlineWidthStyleValue
impl ToCursors for OutlineWidthStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for OutlineWidthStyleValue
impl StructuralPartialEq for OutlineWidthStyleValue
Auto Trait Implementations§
impl Freeze for OutlineWidthStyleValue
impl RefUnwindSafe for OutlineWidthStyleValue
impl Send for OutlineWidthStyleValue
impl Sync for OutlineWidthStyleValue
impl Unpin for OutlineWidthStyleValue
impl UnwindSafe for OutlineWidthStyleValue
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