pub struct DropdownMenuProps {
pub menu_id: String,
pub trigger_label: String,
pub items: Vec<DropdownMenuAction>,
pub trigger_variant: Option<ButtonVariant>,
}Expand description
Props for DropdownMenu component — trigger button with absolutely-positioned action panel.
Fields§
§trigger_label: String§items: Vec<DropdownMenuAction>§trigger_variant: Option<ButtonVariant>Trait Implementations§
Source§impl Clone for DropdownMenuProps
impl Clone for DropdownMenuProps
Source§fn clone(&self) -> DropdownMenuProps
fn clone(&self) -> DropdownMenuProps
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 DropdownMenuProps
impl Debug for DropdownMenuProps
Source§impl<'de> Deserialize<'de> for DropdownMenuProps
impl<'de> Deserialize<'de> for DropdownMenuProps
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
Source§impl PartialEq for DropdownMenuProps
impl PartialEq for DropdownMenuProps
Source§impl Serialize for DropdownMenuProps
impl Serialize for DropdownMenuProps
impl StructuralPartialEq for DropdownMenuProps
Auto Trait Implementations§
impl Freeze for DropdownMenuProps
impl RefUnwindSafe for DropdownMenuProps
impl Send for DropdownMenuProps
impl Sync for DropdownMenuProps
impl Unpin for DropdownMenuProps
impl UnsafeUnpin for DropdownMenuProps
impl UnwindSafe for DropdownMenuProps
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