pub struct ScrollSubscription { /* private fields */ }Expand description
Keeps an ScrollController::on_change listener subscribed; dropping it
unsubscribes. Holds the handle weakly, so it never keeps a controller alive.
Trait Implementations§
Source§impl Debug for ScrollSubscription
impl Debug for ScrollSubscription
Source§impl Drop for ScrollSubscription
impl Drop for ScrollSubscription
Auto Trait Implementations§
impl !RefUnwindSafe for ScrollSubscription
impl !Send for ScrollSubscription
impl !Sync for ScrollSubscription
impl !UnwindSafe for ScrollSubscription
impl Freeze for ScrollSubscription
impl Unpin for ScrollSubscription
impl UnsafeUnpin for ScrollSubscription
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.