Trait maomi::node::OwnerWeak

source ·
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§

source

fn apply_updates(&self) -> Result<(), Error>

Schedule an update on the owner.

source

fn clone_owner_weak(&self) -> Box<dyn OwnerWeak>

Clone the owner itself.

Implementors§

source§

impl<C: 'static> OwnerWeak for ComponentWeak<C>