pub struct InlayHintOptions {
pub resolve_provider: Option<bool>,
pub work_done_progress_options: WorkDoneProgressOptions,
}Expand description
Inlay hint options used during static registration.
@since 3.17.0
Fields§
§resolve_provider: Option<bool>The server provides support to resolve additional information for an inlay hint item.
work_done_progress_options: WorkDoneProgressOptionsImplementations§
Source§impl InlayHintOptions
impl InlayHintOptions
pub const fn new( resolve_provider: Option<bool>, work_done_progress_options: WorkDoneProgressOptions, ) -> Self
Trait Implementations§
Source§impl Clone for InlayHintOptions
impl Clone for InlayHintOptions
Source§fn clone(&self) -> InlayHintOptions
fn clone(&self) -> InlayHintOptions
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 InlayHintOptions
impl Debug for InlayHintOptions
Source§impl Default for InlayHintOptions
impl Default for InlayHintOptions
Source§fn default() -> InlayHintOptions
fn default() -> InlayHintOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlayHintOptions
impl<'de> Deserialize<'de> for InlayHintOptions
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 From<InlayHintOptions> for InlayHintProvider
impl From<InlayHintOptions> for InlayHintProvider
Source§fn from(v: InlayHintOptions) -> Self
fn from(v: InlayHintOptions) -> Self
Converts to this type from the input type.
Source§impl Hash for InlayHintOptions
impl Hash for InlayHintOptions
Source§impl PartialEq for InlayHintOptions
impl PartialEq for InlayHintOptions
Source§fn eq(&self, other: &InlayHintOptions) -> bool
fn eq(&self, other: &InlayHintOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InlayHintOptions
impl Serialize for InlayHintOptions
impl Copy for InlayHintOptions
impl Eq for InlayHintOptions
impl StructuralPartialEq for InlayHintOptions
Auto Trait Implementations§
impl Freeze for InlayHintOptions
impl RefUnwindSafe for InlayHintOptions
impl Send for InlayHintOptions
impl Sync for InlayHintOptions
impl Unpin for InlayHintOptions
impl UnsafeUnpin for InlayHintOptions
impl UnwindSafe for InlayHintOptions
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