pub struct PopupMenuPropsBuilder<TypedBuilderFields = ((), (), (), (), (), ())> { /* private fields */ }
Expand description
Builder for PopupMenuProps
instances.
See PopupMenuProps::builder()
for more info.
Implementations§
pub fn size( self, size: MenuSize, ) -> PopupMenuPropsBuilder<(__id, __class, __button_class, __button_content, (MenuSize,), __children)>
pub fn children( self, children: String, ) -> PopupMenuPropsBuilder<(__id, __class, __button_class, __button_content, __size, (String,))>
Sourcepub fn build(self) -> PopupMenuProps
pub fn build(self) -> PopupMenuProps
Finalise the builder and create its PopupMenuProps
instance
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for PopupMenuPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for PopupMenuPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for PopupMenuPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for PopupMenuPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for PopupMenuPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for PopupMenuPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: UnwindSafe,
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