pub trait OwnerWeak {
// Required methods
fn apply_updates(&self) -> Result<(), Error>;
fn clone_owner_weak(&self) -> Box<dyn OwnerWeak>;
}
Expand description
A weak ref to the owner.
This is used by the backend implementor. In most cases, it should not be used in component implementors.
Required Methods§
sourcefn apply_updates(&self) -> Result<(), Error>
fn apply_updates(&self) -> Result<(), Error>
Schedule an update on the owner.
sourcefn clone_owner_weak(&self) -> Box<dyn OwnerWeak>
fn clone_owner_weak(&self) -> Box<dyn OwnerWeak>
Clone the owner itself.