pub struct ModelPeer<'a> { /* private fields */ }Expand description
Represent a handle to a view that listens to changes to a model.
One should normally not use this class directly, it is just
used internally by via ModelTracker::attach_peer and ModelNotify
Trait Implementationsยง
Auto Trait Implementationsยง
impl<'a> !RefUnwindSafe for ModelPeer<'a>
impl<'a> !Send for ModelPeer<'a>
impl<'a> !Sync for ModelPeer<'a>
impl<'a> Unpin for ModelPeer<'a>
impl<'a> !UnwindSafe for ModelPeer<'a>
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