pub struct DialogPropsBuilder { /* private fields */ }Implementations§
Source§impl DialogPropsBuilder
impl DialogPropsBuilder
pub fn id(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn trigger(self, val: Option<Markup>) -> Self
pub fn title(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn description(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn close_on_overlay_click(self, val: bool) -> 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) -> DialogProps
Trait Implementations§
Source§impl From<DialogPropsBuilder> for DialogProps
impl From<DialogPropsBuilder> for DialogProps
Source§fn from(b: DialogPropsBuilder) -> Self
fn from(b: DialogPropsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DialogPropsBuilder
impl RefUnwindSafe for DialogPropsBuilder
impl Send for DialogPropsBuilder
impl Sync for DialogPropsBuilder
impl Unpin for DialogPropsBuilder
impl UnsafeUnpin for DialogPropsBuilder
impl UnwindSafe for DialogPropsBuilder
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