Struct pax_std::forms::dialogs::ConfirmationDialog
source · pub struct ConfirmationDialog {
pub text: Property<String>,
pub open: Property<bool>,
pub signal: Property<bool>,
}Fields§
§text: Property<String>§open: Property<bool>§signal: Property<bool>Implementations§
source§impl ConfirmationDialog
impl ConfirmationDialog
pub fn handle_yes(&mut self, _ctx: &NodeContext, _event: Event<ButtonClick>)
pub fn handle_no(&mut self, _ctx: &NodeContext, _event: Event<ButtonClick>)
Trait Implementations§
source§impl Clone for ConfirmationDialog
impl Clone for ConfirmationDialog
source§fn clone(&self) -> ConfirmationDialog
fn clone(&self) -> ConfirmationDialog
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl CoercionRules for ConfirmationDialog
impl CoercionRules for ConfirmationDialog
source§impl Debug for ConfirmationDialog
impl Debug for ConfirmationDialog
source§impl Default for ConfirmationDialog
impl Default for ConfirmationDialog
source§impl<'de> Deserialize<'de> for ConfirmationDialog
impl<'de> Deserialize<'de> for ConfirmationDialog
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Interpolatable for ConfirmationDialog
impl Interpolatable for ConfirmationDialog
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl Serialize for ConfirmationDialog
impl Serialize for ConfirmationDialog
source§impl ToPaxValue for ConfirmationDialog
impl ToPaxValue for ConfirmationDialog
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for ConfirmationDialog
Auto Trait Implementations§
impl Freeze for ConfirmationDialog
impl RefUnwindSafe for ConfirmationDialog
impl Send for ConfirmationDialog
impl Sync for ConfirmationDialog
impl Unpin for ConfirmationDialog
impl UnwindSafe for ConfirmationDialog
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.