pub struct DropdownPropsBuilder { /* private fields */ }Implementations§
Source§impl DropdownPropsBuilder
impl DropdownPropsBuilder
pub fn id(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn trigger(self, val: Option<Markup>) -> Self
pub fn items(self, val: Vec<DropdownItem>) -> Self
pub fn placement(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn class(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn attrs(self, val: AttrMap) -> Self
pub fn children(self, val: Children) -> Self
pub fn build(self) -> DropdownProps
Trait Implementations§
Source§impl From<DropdownPropsBuilder> for DropdownProps
impl From<DropdownPropsBuilder> for DropdownProps
Source§fn from(b: DropdownPropsBuilder) -> Self
fn from(b: DropdownPropsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DropdownPropsBuilder
impl RefUnwindSafe for DropdownPropsBuilder
impl Send for DropdownPropsBuilder
impl Sync for DropdownPropsBuilder
impl Unpin for DropdownPropsBuilder
impl UnsafeUnpin for DropdownPropsBuilder
impl UnwindSafe for DropdownPropsBuilder
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