pub struct UserPromptDialog { /* private fields */ }Trait Implementations§
Source§impl Component for UserPromptDialog
impl Component for UserPromptDialog
Source§type Props<'a> = UserPromptDialogProps
type Props<'a> = UserPromptDialogProps
The type of properties that the component accepts.
Source§fn new(_props: &Self::Props<'_>) -> Self
fn new(_props: &Self::Props<'_>) -> Self
Creates a new instance of the component from a set of properties.
Source§fn update(
&mut self,
props: &mut Self::Props<'_>,
hooks: Hooks<'_, '_>,
updater: &mut ComponentUpdater<'_, '_, '_>,
)
fn update( &mut self, props: &mut Self::Props<'_>, hooks: Hooks<'_, '_>, updater: &mut ComponentUpdater<'_, '_, '_>, )
Invoked whenever the properties of the component or layout may have changed.
Source§fn draw(&mut self, _drawer: &mut ComponentDrawer<'_>)
fn draw(&mut self, _drawer: &mut ComponentDrawer<'_>)
Invoked to draw the component.
Auto Trait Implementations§
impl Freeze for UserPromptDialog
impl RefUnwindSafe for UserPromptDialog
impl Send for UserPromptDialog
impl Sync for UserPromptDialog
impl Unpin for UserPromptDialog
impl UnsafeUnpin for UserPromptDialog
impl UnwindSafe for UserPromptDialog
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