pub struct DynamicHandler(/* private fields */);Expand description
A handler for updating a Dynamic view.
Provides methods to set new content for the associated Dynamic view.
Implementations§
Source§impl DynamicHandler
impl DynamicHandler
Sourcepub fn set_with_metadata(&self, view: impl View, metadata: WatcherMetadata)
pub fn set_with_metadata(&self, view: impl View, metadata: WatcherMetadata)
Sets the content of the Dynamic view with the provided view and metadata.
§Arguments
view- The new view to displaymetadata- Additional metadata associated with the update
Trait Implementations§
Source§impl Clone for DynamicHandler
impl Clone for DynamicHandler
Source§fn clone(&self) -> DynamicHandler
fn clone(&self) -> DynamicHandler
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DynamicHandler
impl !RefUnwindSafe for DynamicHandler
impl !Send for DynamicHandler
impl !Sync for DynamicHandler
impl Unpin for DynamicHandler
impl !UnwindSafe for DynamicHandler
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