pub struct PluginDelta {Show 15 fields
pub functions: Vec<(String, Vec<u8>)>,
pub aliases: Vec<(String, String, AliasKind)>,
pub global_aliases: Vec<(String, String)>,
pub suffix_aliases: Vec<(String, String)>,
pub variables: Vec<(String, String)>,
pub exports: Vec<(String, String)>,
pub arrays: Vec<(String, Vec<String>)>,
pub assoc_arrays: Vec<(String, HashMap<String, String>)>,
pub completions: Vec<(String, String)>,
pub fpath_additions: Vec<String>,
pub hooks: Vec<(String, String)>,
pub bindkeys: Vec<(String, String, String)>,
pub zstyles: Vec<(String, String, String)>,
pub options_changed: Vec<(String, bool)>,
pub autoloads: Vec<(String, String)>,
}Expand description
Side effects captured from sourcing a plugin file.
Fields§
§functions: Vec<(String, Vec<u8>)>§aliases: Vec<(String, String, AliasKind)>§global_aliases: Vec<(String, String)>§suffix_aliases: Vec<(String, String)>§variables: Vec<(String, String)>§exports: Vec<(String, String)>§arrays: Vec<(String, Vec<String>)>§assoc_arrays: Vec<(String, HashMap<String, String>)>§completions: Vec<(String, String)>§fpath_additions: Vec<String>§hooks: Vec<(String, String)>§bindkeys: Vec<(String, String, String)>§zstyles: Vec<(String, String, String)>§options_changed: Vec<(String, bool)>§autoloads: Vec<(String, String)>Trait Implementations§
Source§impl Clone for PluginDelta
impl Clone for PluginDelta
Source§fn clone(&self) -> PluginDelta
fn clone(&self) -> PluginDelta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginDelta
impl Debug for PluginDelta
Source§impl Default for PluginDelta
impl Default for PluginDelta
Source§fn default() -> PluginDelta
fn default() -> PluginDelta
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PluginDelta
impl RefUnwindSafe for PluginDelta
impl Send for PluginDelta
impl Sync for PluginDelta
impl Unpin for PluginDelta
impl UnsafeUnpin for PluginDelta
impl UnwindSafe for PluginDelta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more