Struct cranelift_isle::error::Span
source · pub struct Span {
pub from: Pos,
pub to: Pos,
}
Expand description
A span in a given source.
Fields§
§from: Pos
The byte offset of the start of the span.
to: Pos
The byte offset of the end of the span.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnwindSafe for Span
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