pub struct ElementObservation { /* private fields */ }Expand description
Keeps an ElementRef observation registered.
Dropping the handle stops callback delivery and prevents the observation from following later bindings. The observed element reference may be captured by the callback without creating an ownership cycle.
Trait Implementations§
Source§impl Drop for ElementObservation
impl Drop for ElementObservation
Auto Trait Implementations§
impl !RefUnwindSafe for ElementObservation
impl !Send for ElementObservation
impl !Sync for ElementObservation
impl !UnwindSafe for ElementObservation
impl Freeze for ElementObservation
impl Unpin for ElementObservation
impl UnsafeUnpin for ElementObservation
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