pub struct PrismSpan {
pub source: SourceId,
pub start: usize,
pub end: usize,
}Expand description
A half-open byte span belonging to a parsed surface.
Fields§
§source: SourceIdSource id.
start: usizeInclusive start byte.
end: usizeExclusive end byte.
Trait Implementations§
impl Eq for PrismSpan
impl StructuralPartialEq for PrismSpan
Auto Trait Implementations§
impl Freeze for PrismSpan
impl RefUnwindSafe for PrismSpan
impl Send for PrismSpan
impl Sync for PrismSpan
impl Unpin for PrismSpan
impl UnsafeUnpin for PrismSpan
impl UnwindSafe for PrismSpan
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