pub struct HexColor(/* private fields */);Expand description
A HexColor String can be one of:
Strings:good,warning,danger- Any valid hex color code: e.g.
#b13d41or#000.
Implementations§
Trait Implementations§
Source§impl From<SlackColor> for HexColor
impl From<SlackColor> for HexColor
Source§fn from(color: SlackColor) -> HexColor
fn from(color: SlackColor) -> HexColor
Converts to this type from the input type.
impl StructuralPartialEq for HexColor
Auto Trait Implementations§
impl Freeze for HexColor
impl RefUnwindSafe for HexColor
impl Send for HexColor
impl Sync for HexColor
impl Unpin for HexColor
impl UnwindSafe for HexColor
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