pub enum ClientName {
VSCode,
Neovim,
Other,
}
Variants§
Implementations§
Source§impl ClientName
impl ClientName
pub fn parse(name: &str) -> ClientName
Trait Implementations§
Source§impl Clone for ClientName
impl Clone for ClientName
Source§fn clone(&self) -> ClientName
fn clone(&self) -> ClientName
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 ClientName
impl Debug for ClientName
Source§impl PartialEq for ClientName
impl PartialEq for ClientName
impl Copy for ClientName
impl Eq for ClientName
impl StructuralPartialEq for ClientName
Auto Trait Implementations§
impl Freeze for ClientName
impl RefUnwindSafe for ClientName
impl Send for ClientName
impl Sync for ClientName
impl Unpin for ClientName
impl UnwindSafe for ClientName
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.