pub enum SignatureHelpOutcome {
Body(String),
NoServers,
}Expand description
Outcome of a textDocument/signatureHelp request. The
response carries multiple signatures (one per overload)
plus the active signature/parameter indices. We collapse
to the active overload + parameter highlight for the popup
body.
Variants§
Body(String)
Pre-rendered markdown body for the popup. Empty body
means “no signature info” (server returned None or an
empty signatures array).
NoServers
No server attached / no provider advertised.
Trait Implementations§
Source§impl Clone for SignatureHelpOutcome
impl Clone for SignatureHelpOutcome
Source§fn clone(&self) -> SignatureHelpOutcome
fn clone(&self) -> SignatureHelpOutcome
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 moreAuto Trait Implementations§
impl Freeze for SignatureHelpOutcome
impl RefUnwindSafe for SignatureHelpOutcome
impl Send for SignatureHelpOutcome
impl Sync for SignatureHelpOutcome
impl Unpin for SignatureHelpOutcome
impl UnsafeUnpin for SignatureHelpOutcome
impl UnwindSafe for SignatureHelpOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more