Enum nvim_oxi::types::ClientType
source · [−]#[non_exhaustive]
pub enum ClientType {
Remote,
Ui,
Embedder,
Host,
Plugin,
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Remote
Remote client connected to Neovim.
Ui
GUI frontend.
Embedder
Application using Neovim as a component (for example, IDE/editor implementing a vim mode).
Host
Plugin host, typically started by Neovim.
Plugin
Single plugin, started by Neovim.
Trait Implementations
sourceimpl Clone for ClientType
impl Clone for ClientType
sourcefn clone(&self) -> ClientType
fn clone(&self) -> ClientType
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 more
sourceimpl Debug for ClientType
impl Debug for ClientType
sourceimpl<'de> Deserialize<'de> for ClientType
impl<'de> Deserialize<'de> for ClientType
sourcefn 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
sourceimpl Hash for ClientType
impl Hash for ClientType
sourceimpl PartialEq<ClientType> for ClientType
impl PartialEq<ClientType> for ClientType
sourceimpl Serialize for ClientType
impl Serialize for ClientType
impl Eq for ClientType
impl StructuralEq for ClientType
impl StructuralPartialEq for ClientType
Auto Trait Implementations
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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