pub enum Tone {
Neutral,
Accent,
Info,
Success,
Warning,
Error,
Pending,
Muted,
User,
Other(String),
}Expand description
The semantic color of a node’s chrome.
Variants§
Neutral
Gray.
Accent
The accent.
Info
Informational.
Success
Success.
Warning
Warning.
Error
Error.
Pending
Pending.
Muted
Quiet.
User
The user’s own.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
impl Eq for Tone
impl StructuralPartialEq for Tone
Auto Trait Implementations§
impl Freeze for Tone
impl RefUnwindSafe for Tone
impl Send for Tone
impl Sync for Tone
impl Unpin for Tone
impl UnsafeUnpin for Tone
impl UnwindSafe for Tone
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