Struct nvim_gtk::subscriptions::SubscriptionHandle
source · [−]pub struct SubscriptionHandle {
key: SubscriptionKey,
index: usize,
}Expand description
A handle to identify a Subscription within the Subscriptions map.
Can be used to trigger the subscription manually even when the event was not triggered.
Could be used in the future to suspend individual subscriptions.
Fields
key: SubscriptionKeyindex: usizeTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SubscriptionHandle
impl Send for SubscriptionHandle
impl Sync for SubscriptionHandle
impl Unpin for SubscriptionHandle
impl UnwindSafe for SubscriptionHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more