pub enum PluginScope {
Global,
BufferLocal,
SingleInvocation,
}
Expand description
Describes the scope of events a plugin receives.
Variants§
Global
The plugin receives events from multiple buffers.
BufferLocal
The plugin receives events for a single buffer.
SingleInvocation
The plugin is launched in response to a command, and receives no further updates.
Trait Implementations§
Source§impl Clone for PluginScope
impl Clone for PluginScope
Source§fn clone(&self) -> PluginScope
fn clone(&self) -> PluginScope
Returns a copy 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 PluginScope
impl Debug for PluginScope
Source§impl Default for PluginScope
impl Default for PluginScope
Source§impl<'de> Deserialize<'de> for PluginScope
impl<'de> Deserialize<'de> for PluginScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PluginScope
impl RefUnwindSafe for PluginScope
impl Send for PluginScope
impl Sync for PluginScope
impl Unpin for PluginScope
impl UnwindSafe for PluginScope
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