#[non_exhaustive]pub enum OutlineColor {
Auto,
Color(Color),
}Expand description
A value of outline-color.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for OutlineColor
impl Clone for OutlineColor
Source§fn clone(&self) -> OutlineColor
fn clone(&self) -> OutlineColor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutlineColor
impl Debug for OutlineColor
Source§impl Display for OutlineColor
impl Display for OutlineColor
Source§impl From<Color> for OutlineColor
impl From<Color> for OutlineColor
Source§impl PartialEq for OutlineColor
impl PartialEq for OutlineColor
impl StructuralPartialEq for OutlineColor
Auto Trait Implementations§
impl Freeze for OutlineColor
impl RefUnwindSafe for OutlineColor
impl Send for OutlineColor
impl Sync for OutlineColor
impl Unpin for OutlineColor
impl UnsafeUnpin for OutlineColor
impl UnwindSafe for OutlineColor
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