pub struct BasicDialogBuilder { /* private fields */ }Expand description
Configuration handle returned by basic_dialog.
Implementations§
Source§impl BasicDialogBuilder
impl BasicDialogBuilder
Sourcepub fn dialog(&self, value: DialogScope) -> Self
pub fn dialog(&self, value: DialogScope) -> Self
Configure dialog before this component executes.
Sourcepub fn dialog_optional(&self, value: Option<DialogScope>) -> Self
pub fn dialog_optional(&self, value: Option<DialogScope>) -> Self
Configure dialog before this component executes.
Configure icon before this component executes.
Sourcepub fn icon_optional(&self, value: Option<RenderSlot>) -> Self
pub fn icon_optional(&self, value: Option<RenderSlot>) -> Self
Configure icon before this component executes.
Sourcepub fn headline(&self, value: impl Into<String>) -> Self
pub fn headline(&self, value: impl Into<String>) -> Self
Configure headline before this component executes.
Sourcepub fn headline_optional(&self, value: Option<String>) -> Self
pub fn headline_optional(&self, value: Option<String>) -> Self
Configure headline before this component executes.
Sourcepub fn supporting_text(&self, value: impl Into<String>) -> Self
pub fn supporting_text(&self, value: impl Into<String>) -> Self
Configure supporting_text before this component executes.
Sourcepub fn supporting_text_optional(&self, value: Option<String>) -> Self
pub fn supporting_text_optional(&self, value: Option<String>) -> Self
Configure supporting_text before this component executes.
Sourcepub fn content<F, Output>(&self, value: F) -> Self
pub fn content<F, Output>(&self, value: F) -> Self
Configure content before this component executes.
Configure content before this component executes.
Sourcepub fn content_optional(&self, value: Option<RenderSlot>) -> Self
pub fn content_optional(&self, value: Option<RenderSlot>) -> Self
Configure content before this component executes.
Configure confirm_button before this component executes.
Configure confirm_button before this component executes.
Configure confirm_button before this component executes.
Configure dismiss_button before this component executes.
Configure dismiss_button before this component executes.
Configure dismiss_button before this component executes.
Auto Trait Implementations§
impl Freeze for BasicDialogBuilder
impl RefUnwindSafe for BasicDialogBuilder
impl Send for BasicDialogBuilder
impl Sync for BasicDialogBuilder
impl Unpin for BasicDialogBuilder
impl UnsafeUnpin for BasicDialogBuilder
impl UnwindSafe for BasicDialogBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.