#[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.
Trait Implementations§
Source§impl Clone for CommandRange
impl Clone for CommandRange
Source§fn clone(&self) -> CommandRange
fn clone(&self) -> CommandRange
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 CommandRange
impl Debug for CommandRange
Source§impl<'de> Deserialize<'de> for CommandRange
impl<'de> Deserialize<'de> for CommandRange
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
Source§impl Hash for CommandRange
impl Hash for CommandRange
Source§impl PartialEq for CommandRange
impl PartialEq for CommandRange
Source§impl Serialize for CommandRange
impl Serialize for CommandRange
impl Copy for CommandRange
impl Eq for CommandRange
impl StructuralPartialEq for CommandRange
Auto Trait Implementations§
impl Freeze for CommandRange
impl RefUnwindSafe for CommandRange
impl Send for CommandRange
impl Sync for CommandRange
impl Unpin for CommandRange
impl UnwindSafe for CommandRange
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