pub struct ContentDialogProps {
pub title: String,
pub children: Children,
pub primary_label: String,
pub secondary_label: String,
pub is_open: bool,
pub on_primary: Callback<()>,
pub on_secondary: Callback<()>,
}
Fields§
§title: String
§children: Children
§primary_label: String
§secondary_label: String
§is_open: bool
§on_primary: Callback<()>
§on_secondary: Callback<()>
Trait Implementations§
Source§impl Clone for ContentDialogProps
impl Clone for ContentDialogProps
Source§fn clone(&self) -> ContentDialogProps
fn clone(&self) -> ContentDialogProps
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 PartialEq for ContentDialogProps
impl PartialEq for ContentDialogProps
Source§impl Properties for ContentDialogProps
impl Properties for ContentDialogProps
impl StructuralPartialEq for ContentDialogProps
Auto Trait Implementations§
impl Freeze for ContentDialogProps
impl !RefUnwindSafe for ContentDialogProps
impl !Send for ContentDialogProps
impl !Sync for ContentDialogProps
impl Unpin for ContentDialogProps
impl !UnwindSafe for ContentDialogProps
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
)