pub(crate) struct Context {
pub slot: Slot,
pub call: Option<Call>,
}Expand description
The cursor’s context, and the call being written around it, if any.
Fields§
§slot: Slot§call: Option<Call>The innermost call whose argument list contains the cursor, even inside nested brackets, for signature help.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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