pub struct ClientCodeActionKindOptions {
pub value_set: Vec<CodeActionKind>,
}Expand description
@since 3.18.0
Fields§
§value_set: Vec<CodeActionKind>The code action kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.
Implementations§
Source§impl ClientCodeActionKindOptions
impl ClientCodeActionKindOptions
pub const fn new(value_set: Vec<CodeActionKind>) -> Self
Trait Implementations§
Source§impl Clone for ClientCodeActionKindOptions
impl Clone for ClientCodeActionKindOptions
Source§fn clone(&self) -> ClientCodeActionKindOptions
fn clone(&self) -> ClientCodeActionKindOptions
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 moreSource§impl Debug for ClientCodeActionKindOptions
impl Debug for ClientCodeActionKindOptions
Source§impl Default for ClientCodeActionKindOptions
impl Default for ClientCodeActionKindOptions
Source§fn default() -> ClientCodeActionKindOptions
fn default() -> ClientCodeActionKindOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientCodeActionKindOptions
impl<'de> Deserialize<'de> for ClientCodeActionKindOptions
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 ClientCodeActionKindOptions
impl Hash for ClientCodeActionKindOptions
Source§impl PartialEq for ClientCodeActionKindOptions
impl PartialEq for ClientCodeActionKindOptions
Source§fn eq(&self, other: &ClientCodeActionKindOptions) -> bool
fn eq(&self, other: &ClientCodeActionKindOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClientCodeActionKindOptions
impl StructuralPartialEq for ClientCodeActionKindOptions
Auto Trait Implementations§
impl Freeze for ClientCodeActionKindOptions
impl RefUnwindSafe for ClientCodeActionKindOptions
impl Send for ClientCodeActionKindOptions
impl Sync for ClientCodeActionKindOptions
impl Unpin for ClientCodeActionKindOptions
impl UnsafeUnpin for ClientCodeActionKindOptions
impl UnwindSafe for ClientCodeActionKindOptions
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