pub struct PopupMenuProps { /* private fields */ }
Implementations§
Source§impl PopupMenuProps
impl PopupMenuProps
Sourcepub fn builder() -> PopupMenuPropsBuilder<((), (), (), (), (), ())>
pub fn builder() -> PopupMenuPropsBuilder<((), (), (), (), (), ())>
Create a builder for building PopupMenuProps
.
On the builder, call .id(...)
, .class(...)
(optional), .button_class(...)
(optional), .button_content(...)
, .size(...)
(optional), .children(...)
to set the values of the fields.
Finally, call .build()
to create the instance of PopupMenuProps
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PopupMenuProps
impl RefUnwindSafe for PopupMenuProps
impl Send for PopupMenuProps
impl Sync for PopupMenuProps
impl Unpin for PopupMenuProps
impl UnwindSafe for PopupMenuProps
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