pub enum PopoverColor {
Surface,
Primary,
Success,
Warning,
Error,
Info,
}Expand description
Popover color themes
Variants§
Surface
Default surface color
Primary
Primary theme color
Success
Success/positive (green)
Warning
Warning/caution (yellow)
Error
Error/danger (red)
Info
Informational (blue)
Trait Implementations§
Source§impl Clone for PopoverColor
impl Clone for PopoverColor
Source§fn clone(&self) -> PopoverColor
fn clone(&self) -> PopoverColor
Returns a duplicate of the value. Read more
1.0.0 · 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 PopoverColor
impl Debug for PopoverColor
Source§impl Default for PopoverColor
impl Default for PopoverColor
Source§fn default() -> PopoverColor
fn default() -> PopoverColor
Returns the “default value” for a type. Read more
Source§impl PartialEq for PopoverColor
impl PartialEq for PopoverColor
impl Copy for PopoverColor
impl Eq for PopoverColor
impl StructuralPartialEq for PopoverColor
Auto Trait Implementations§
impl Freeze for PopoverColor
impl RefUnwindSafe for PopoverColor
impl Send for PopoverColor
impl Sync for PopoverColor
impl Unpin for PopoverColor
impl UnsafeUnpin for PopoverColor
impl UnwindSafe for PopoverColor
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