pub enum FrontendTone {
Neutral,
Success,
Warning,
Error,
}Expand description
A presentation hint rather than a terminal-specific color.
Variants§
Trait Implementations§
Source§impl Clone for FrontendTone
impl Clone for FrontendTone
Source§fn clone(&self) -> FrontendTone
fn clone(&self) -> FrontendTone
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 moreimpl Copy for FrontendTone
Source§impl Debug for FrontendTone
impl Debug for FrontendTone
Source§impl<'de> Deserialize<'de> for FrontendTone
impl<'de> Deserialize<'de> for FrontendTone
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrontendTone
Source§impl PartialEq for FrontendTone
impl PartialEq for FrontendTone
Source§impl Serialize for FrontendTone
impl Serialize for FrontendTone
impl StructuralPartialEq for FrontendTone
Auto Trait Implementations§
impl Freeze for FrontendTone
impl RefUnwindSafe for FrontendTone
impl Send for FrontendTone
impl Sync for FrontendTone
impl Unpin for FrontendTone
impl UnsafeUnpin for FrontendTone
impl UnwindSafe for FrontendTone
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