pub enum PopoverVariant {
Default,
Menu,
Tooltip,
}Variants§
Default
Generic popover (combo-box dropdown, color picker, etc.).
Menu
Menu popover (rounded, slightly-elevated). Distinct from
MenuItemStyle which paints the rows; this draws the
surrounding container.
Tooltip
Tooltip-flavored container (dark surface in IntUI even in light theme).
Trait Implementations§
Source§impl Clone for PopoverVariant
impl Clone for PopoverVariant
Source§fn clone(&self) -> PopoverVariant
fn clone(&self) -> PopoverVariant
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 PopoverVariant
Source§impl Debug for PopoverVariant
impl Debug for PopoverVariant
Source§impl Default for PopoverVariant
impl Default for PopoverVariant
Source§fn default() -> PopoverVariant
fn default() -> PopoverVariant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PopoverVariant
impl<'de> Deserialize<'de> for PopoverVariant
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 PopoverVariant
Source§impl Hash for PopoverVariant
impl Hash for PopoverVariant
Source§impl PartialEq for PopoverVariant
impl PartialEq for PopoverVariant
Source§impl Serialize for PopoverVariant
impl Serialize for PopoverVariant
impl StructuralPartialEq for PopoverVariant
Auto Trait Implementations§
impl Freeze for PopoverVariant
impl RefUnwindSafe for PopoverVariant
impl Send for PopoverVariant
impl Sync for PopoverVariant
impl Unpin for PopoverVariant
impl UnsafeUnpin for PopoverVariant
impl UnwindSafe for PopoverVariant
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