#[non_exhaustive]pub enum CodeActionKind {
Quickfix,
Refactor,
Source,
}Expand description
Code-action kind.
Forward compatibility: unknown wire values deserialise as
CodeActionKind::Refactor. Adding new variants is non-breaking.
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 CodeActionKind
impl Clone for CodeActionKind
Source§fn clone(&self) -> CodeActionKind
fn clone(&self) -> CodeActionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodeActionKind
Source§impl Debug for CodeActionKind
impl Debug for CodeActionKind
Source§impl<'de> Deserialize<'de> for CodeActionKind
impl<'de> Deserialize<'de> for CodeActionKind
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
impl Eq for CodeActionKind
Source§impl Hash for CodeActionKind
impl Hash for CodeActionKind
Source§impl PartialEq for CodeActionKind
impl PartialEq for CodeActionKind
Source§fn eq(&self, other: &CodeActionKind) -> bool
fn eq(&self, other: &CodeActionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeActionKind
impl Serialize for CodeActionKind
impl StructuralPartialEq for CodeActionKind
Auto Trait Implementations§
impl Freeze for CodeActionKind
impl RefUnwindSafe for CodeActionKind
impl Send for CodeActionKind
impl Sync for CodeActionKind
impl Unpin for CodeActionKind
impl UnsafeUnpin for CodeActionKind
impl UnwindSafe for CodeActionKind
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