pub(crate) struct Cursor<'p> {
pub project: &'p Project,
pub file: FileId,
pub offset: usize,
}Expand description
The place in a project a request points at: an offset in one of its files.
Fields§
§project: &'p Project§file: FileId§offset: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for Cursor<'p>
impl<'p> !UnwindSafe for Cursor<'p>
impl<'p> Freeze for Cursor<'p>
impl<'p> Send for Cursor<'p>
impl<'p> Sync for Cursor<'p>
impl<'p> Unpin for Cursor<'p>
impl<'p> UnsafeUnpin for Cursor<'p>
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