pub struct ScopeSpan {
pub start: usize,
pub end: usize,
pub scope: ScopeId,
}Expand description
Scope span produced by tokenization.
Fields§
§start: usizeStart byte in the line.
end: usizeEnd byte in the line.
scope: ScopeIdInterned scope id.
Trait Implementations§
impl Copy for ScopeSpan
impl Eq for ScopeSpan
impl StructuralPartialEq for ScopeSpan
Auto Trait Implementations§
impl Freeze for ScopeSpan
impl RefUnwindSafe for ScopeSpan
impl Send for ScopeSpan
impl Sync for ScopeSpan
impl Unpin for ScopeSpan
impl UnsafeUnpin for ScopeSpan
impl UnwindSafe for ScopeSpan
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