Enum nvim_oxi::types::CommandRange
source · [−]#[non_exhaustive]
pub enum CommandRange {
CurrentLine,
WholeFile,
Count(u32),
}Expand description
See :h command-range for details.
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.
CurrentLine
WholeFile
Count(u32)
Trait Implementations
sourceimpl Clone for CommandRange
impl Clone for CommandRange
sourcefn clone(&self) -> CommandRange
fn clone(&self) -> CommandRange
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 CommandRange
impl Debug for CommandRange
sourceimpl<'de> Deserialize<'de> for CommandRange
impl<'de> Deserialize<'de> for CommandRange
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 CommandRange
impl Hash for CommandRange
sourceimpl PartialEq<CommandRange> for CommandRange
impl PartialEq<CommandRange> for CommandRange
sourcefn eq(&self, other: &CommandRange) -> bool
fn eq(&self, other: &CommandRange) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CommandRange) -> bool
fn ne(&self, other: &CommandRange) -> bool
This method tests for !=.
sourceimpl Serialize for CommandRange
impl Serialize for CommandRange
impl Copy for CommandRange
impl Eq for CommandRange
impl StructuralEq for CommandRange
impl StructuralPartialEq for CommandRange
Auto Trait Implementations
impl RefUnwindSafe for CommandRange
impl Send for CommandRange
impl Sync for CommandRange
impl Unpin for CommandRange
impl UnwindSafe for CommandRange
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