Struct nvim_gtk::subscriptions::SubscriptionKey
source · [−]Expand description
Subscription keys represent a NeoVim event coupled with a matching pattern. It is expected for
the pattern more often than not to be "*".
Fields
event_name: Stringpattern: StringImplementations
sourceimpl SubscriptionKey
impl SubscriptionKey
pub fn with_pattern(event_name: &str, pattern: &str) -> Self
Trait Implementations
sourceimpl Clone for SubscriptionKey
impl Clone for SubscriptionKey
sourcefn clone(&self) -> SubscriptionKey
fn clone(&self) -> SubscriptionKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SubscriptionKey
impl Debug for SubscriptionKey
sourceimpl<'a> From<&'a str> for SubscriptionKey
impl<'a> From<&'a str> for SubscriptionKey
sourceimpl Hash for SubscriptionKey
impl Hash for SubscriptionKey
sourceimpl PartialEq<SubscriptionKey> for SubscriptionKey
impl PartialEq<SubscriptionKey> for SubscriptionKey
sourcefn eq(&self, other: &SubscriptionKey) -> bool
fn eq(&self, other: &SubscriptionKey) -> bool
impl Eq for SubscriptionKey
impl StructuralEq for SubscriptionKey
impl StructuralPartialEq for SubscriptionKey
Auto Trait Implementations
impl RefUnwindSafe for SubscriptionKey
impl Send for SubscriptionKey
impl Sync for SubscriptionKey
impl Unpin for SubscriptionKey
impl UnwindSafe for SubscriptionKey
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