pub struct InlayHintInfo {
pub line: usize,
pub column: usize,
pub label: String,
}Expand description
An inlay hint produced during type checking.
Fields§
§line: usizePosition (line, column) where the hint should be displayed (after the variable name).
column: usize§label: StringThe type label to display (e.g. “: string”).
Trait Implementations§
Source§impl Clone for InlayHintInfo
impl Clone for InlayHintInfo
Source§fn clone(&self) -> InlayHintInfo
fn clone(&self) -> InlayHintInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 InlayHintInfo
impl RefUnwindSafe for InlayHintInfo
impl Send for InlayHintInfo
impl Sync for InlayHintInfo
impl Unpin for InlayHintInfo
impl UnsafeUnpin for InlayHintInfo
impl UnwindSafe for InlayHintInfo
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