Enum client2::proto::inlay_hint_label::Label
source · pub enum Label {
Value(String),
LabelParts(InlayHintLabelParts),
}
Variants§
Value(String)
LabelParts(InlayHintLabelParts)
Implementations§
Trait Implementations§
source§impl PartialEq<Label> for Label
impl PartialEq<Label> for Label
source§impl Serialize for Label
impl Serialize for Label
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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