#[non_exhaustive]pub enum RegisterType {
BlockwiseVisual(Option<usize>),
Charwise,
Linewise,
Guess,
}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 RegisterType
impl Clone for RegisterType
Source§fn clone(&self) -> RegisterType
fn clone(&self) -> RegisterType
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 RegisterType
impl Debug for RegisterType
Source§impl From<RegisterType> for String
impl From<RegisterType> for String
Source§fn from(reg_type: RegisterType) -> Self
fn from(reg_type: RegisterType) -> Self
Converts to this type from the input type.
Source§impl Hash for RegisterType
impl Hash for RegisterType
Source§impl PartialEq for RegisterType
impl PartialEq for RegisterType
Source§impl Serialize for RegisterType
impl Serialize for RegisterType
impl Eq for RegisterType
impl StructuralPartialEq for RegisterType
Auto Trait Implementations§
impl Freeze for RegisterType
impl RefUnwindSafe for RegisterType
impl Send for RegisterType
impl Sync for RegisterType
impl Unpin for RegisterType
impl UnwindSafe for RegisterType
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<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.Source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result.