pub trait Model {
fn register_proxy<P>(&self, proxy: Rc<P>)
where
P: Proxy;
fn retrieve_proxy<P>(&self) -> Option<Rc<P>>
where
P: Proxy;
fn remove_proxy<P>(&self) -> Option<Rc<P>>
where
P: Proxy;
fn has_proxy<P>(&self) -> bool
where
P: Proxy;
}
Expand description
Required Methods
fn register_proxy<P>(&self, proxy: Rc<P>) where
P: Proxy,
fn register_proxy<P>(&self, proxy: Rc<P>) where
P: Proxy,
fn retrieve_proxy<P>(&self) -> Option<Rc<P>> where
P: Proxy,
fn retrieve_proxy<P>(&self) -> Option<Rc<P>> where
P: Proxy,
Retrieve an Proxy instance from the Model.
fn remove_proxy<P>(&self) -> Option<Rc<P>> where
P: Proxy,
fn remove_proxy<P>(&self) -> Option<Rc<P>> where
P: Proxy,
Remove an Proxy instance from the Model.