pub struct InlayHint {
pub position: WirePosition,
pub label: String,
pub kind: InlayHintKind,
pub padding_left: bool,
pub padding_right: bool,
pub tooltip: Option<String>,
pub location: Option<HintLocation>,
}Expand description
Inlay hint.
Fields§
§position: WirePositionPosition of the hint
label: StringLabel text
kind: InlayHintKindKind of hint
padding_left: boolPadding on the left
padding_right: boolPadding on the right
tooltip: Option<String>Optional tooltip (deferred to resolve)
location: Option<HintLocation>Optional source location for jump-to-definition from hint label
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InlayHint
impl RefUnwindSafe for InlayHint
impl Send for InlayHint
impl Sync for InlayHint
impl Unpin for InlayHint
impl UnsafeUnpin for InlayHint
impl UnwindSafe for InlayHint
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