#[non_exhaustive]pub enum BorderColor {
Color(Color),
Raw(Raw),
}Expand description
A value of border-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 BorderColor
impl Clone for BorderColor
Source§fn clone(&self) -> BorderColor
fn clone(&self) -> BorderColor
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 BorderColor
impl Debug for BorderColor
Source§impl Display for BorderColor
impl Display for BorderColor
Source§impl From<Color> for BorderColor
impl From<Color> for BorderColor
Source§impl From<Raw> for BorderColor
impl From<Raw> for BorderColor
Source§impl PartialEq for BorderColor
impl PartialEq for BorderColor
impl StructuralPartialEq for BorderColor
Auto Trait Implementations§
impl Freeze for BorderColor
impl RefUnwindSafe for BorderColor
impl Send for BorderColor
impl Sync for BorderColor
impl Unpin for BorderColor
impl UnsafeUnpin for BorderColor
impl UnwindSafe for BorderColor
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