pub enum InlayHintProvider {
Bool(bool),
InlayHintOptions(InlayHintOptions),
InlayHintRegistrationOptions(InlayHintRegistrationOptions),
}Variants§
Bool(bool)
InlayHintOptions(InlayHintOptions)
InlayHintRegistrationOptions(InlayHintRegistrationOptions)
Trait Implementations§
Source§impl Clone for InlayHintProvider
impl Clone for InlayHintProvider
Source§fn clone(&self) -> InlayHintProvider
fn clone(&self) -> InlayHintProvider
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 InlayHintProvider
impl Debug for InlayHintProvider
Source§impl<'de> Deserialize<'de> for InlayHintProvider
impl<'de> Deserialize<'de> for InlayHintProvider
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 From<InlayHintRegistrationOptions> for InlayHintProvider
impl From<InlayHintRegistrationOptions> for InlayHintProvider
Source§fn from(v: InlayHintRegistrationOptions) -> Self
fn from(v: InlayHintRegistrationOptions) -> Self
Converts to this type from the input type.
Source§impl From<bool> for InlayHintProvider
impl From<bool> for InlayHintProvider
Source§impl Hash for InlayHintProvider
impl Hash for InlayHintProvider
Source§impl PartialEq for InlayHintProvider
impl PartialEq for InlayHintProvider
Source§fn eq(&self, other: &InlayHintProvider) -> bool
fn eq(&self, other: &InlayHintProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InlayHintProvider
impl Serialize for InlayHintProvider
impl Eq for InlayHintProvider
impl StructuralPartialEq for InlayHintProvider
Auto Trait Implementations§
impl Freeze for InlayHintProvider
impl RefUnwindSafe for InlayHintProvider
impl Send for InlayHintProvider
impl Sync for InlayHintProvider
impl Unpin for InlayHintProvider
impl UnsafeUnpin for InlayHintProvider
impl UnwindSafe for InlayHintProvider
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