pub enum DropdownMenuEntry {
Item(DropdownMenuItem),
Divider,
}Expand description
Either a menu item or a divider.
Variants§
Item(DropdownMenuItem)
Divider
Trait Implementations§
Source§impl Clone for DropdownMenuEntry
impl Clone for DropdownMenuEntry
Source§fn clone(&self) -> DropdownMenuEntry
fn clone(&self) -> DropdownMenuEntry
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for DropdownMenuEntry
impl !Send for DropdownMenuEntry
impl !Sync for DropdownMenuEntry
impl !UnwindSafe for DropdownMenuEntry
impl Freeze for DropdownMenuEntry
impl Unpin for DropdownMenuEntry
impl UnsafeUnpin for DropdownMenuEntry
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