pub enum InlayHintLabelPartArrayOrString {
InlayHintLabelPartArray(Vec<InlayHintLabelPart>),
String(String),
}Variants§
InlayHintLabelPartArray(Vec<InlayHintLabelPart>)
String(String)
Trait Implementations§
Source§impl Clone for InlayHintLabelPartArrayOrString
impl Clone for InlayHintLabelPartArrayOrString
Source§fn clone(&self) -> InlayHintLabelPartArrayOrString
fn clone(&self) -> InlayHintLabelPartArrayOrString
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<'de> Deserialize<'de> for InlayHintLabelPartArrayOrString
impl<'de> Deserialize<'de> for InlayHintLabelPartArrayOrString
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 PartialEq for InlayHintLabelPartArrayOrString
impl PartialEq for InlayHintLabelPartArrayOrString
Source§fn eq(&self, other: &InlayHintLabelPartArrayOrString) -> bool
fn eq(&self, other: &InlayHintLabelPartArrayOrString) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InlayHintLabelPartArrayOrString
Auto Trait Implementations§
impl Freeze for InlayHintLabelPartArrayOrString
impl RefUnwindSafe for InlayHintLabelPartArrayOrString
impl Send for InlayHintLabelPartArrayOrString
impl Sync for InlayHintLabelPartArrayOrString
impl Unpin for InlayHintLabelPartArrayOrString
impl UnsafeUnpin for InlayHintLabelPartArrayOrString
impl UnwindSafe for InlayHintLabelPartArrayOrString
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