pub struct OutlineStyleValue<'a> {
pub outline_width: Option<OutlineWidthStyleValue>,
pub outline_style: Option<OutlineStyleStyleValue>,
pub outline_color: Option<OutlineColorStyleValue<'a>>,
}Expand description
Represents the style value for outline as defined in css-ui-4.
The outline CSS shorthand sets the color, style, and width of a line around an element, outside of the border.
The grammar is defined as:
<'outline-width'> || <'outline-style'> || <'outline-color'>Fields§
§outline_width: Option<OutlineWidthStyleValue>§outline_style: Option<OutlineStyleStyleValue>§outline_color: Option<OutlineColorStyleValue<'a>>Trait Implementations§
Source§impl<'a> Clone for OutlineStyleValue<'a>
impl<'a> Clone for OutlineStyleValue<'a>
Source§fn clone(&self) -> OutlineStyleValue<'a>
fn clone(&self) -> OutlineStyleValue<'a>
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<'a> Debug for OutlineStyleValue<'a>
impl<'a> Debug for OutlineStyleValue<'a>
Source§impl<'a> Hash for OutlineStyleValue<'a>
impl<'a> Hash for OutlineStyleValue<'a>
Source§impl<'a> Ord for OutlineStyleValue<'a>
impl<'a> Ord for OutlineStyleValue<'a>
Source§fn cmp(&self, other: &OutlineStyleValue<'a>) -> Ordering
fn cmp(&self, other: &OutlineStyleValue<'a>) -> 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 OutlineStyleValue<'a>
impl<'a> Parse<'a> for OutlineStyleValue<'a>
Source§impl<'a> PartialEq for OutlineStyleValue<'a>
impl<'a> PartialEq for OutlineStyleValue<'a>
Source§impl<'a> PartialOrd for OutlineStyleValue<'a>
impl<'a> PartialOrd for OutlineStyleValue<'a>
Source§impl<'a> Peek<'a> for OutlineStyleValue<'a>
impl<'a> Peek<'a> for OutlineStyleValue<'a>
Source§impl<'a> ToCursors for OutlineStyleValue<'a>
impl<'a> ToCursors for OutlineStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for OutlineStyleValue<'a>
impl<'a> StructuralPartialEq for OutlineStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for OutlineStyleValue<'a>
impl<'a> !RefUnwindSafe for OutlineStyleValue<'a>
impl<'a> !Send for OutlineStyleValue<'a>
impl<'a> !Sync for OutlineStyleValue<'a>
impl<'a> Unpin for OutlineStyleValue<'a>
impl<'a> !UnwindSafe for OutlineStyleValue<'a>
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