pub struct DropdownItem { /* private fields */ }Implementations§
Source§impl DropdownItem
impl DropdownItem
pub fn new(label: String, value: String) -> DropdownItem
pub fn disabled(self, disabled: bool) -> DropdownItem
Auto Trait Implementations§
impl Freeze for DropdownItem
impl RefUnwindSafe for DropdownItem
impl Send for DropdownItem
impl Sync for DropdownItem
impl Unpin for DropdownItem
impl UnwindSafe for DropdownItem
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