pub struct FileSpan {
pub file: FileId,
pub range: Range<usize>,
}
Expand description
A range that is indexed in a specific file.
Fields§
§file: FileId
§range: Range<usize>
Implementations§
Trait Implementations§
impl Eq for FileSpan
impl StructuralPartialEq for FileSpan
Auto Trait Implementations§
impl Freeze for FileSpan
impl RefUnwindSafe for FileSpan
impl Send for FileSpan
impl Sync for FileSpan
impl Unpin for FileSpan
impl UnwindSafe for FileSpan
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