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> Freeze for ModelPeer<'a>
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