pub struct SigHelp {
pub label: String,
pub params: Vec<(usize, usize)>,
pub active: usize,
pub doc: String,
}Expand description
signature help inside a call
Fields§
§label: String“split(sep, n)”
params: Vec<(usize, usize)>the bytes of each parameter in label
active: usizethe parameter at the caret (params.len(): none)
doc: StringTrait Implementations§
impl StructuralPartialEq for SigHelp
Auto Trait Implementations§
impl Forget for SigHelp
impl Freeze for SigHelp
impl RefUnwindSafe for SigHelp
impl Send for SigHelp
impl Sync for SigHelp
impl Unpin for SigHelp
impl UnsafeUnpin for SigHelp
impl UnwindSafe for SigHelp
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