pub struct OmittedSourceSpan {
pub line: usize,
pub start: usize,
pub end: usize,
}Expand description
A byte range within an omitted physical line, including neither an invented UTF-8 decoding nor a Unicode column. The source ID is the diagnostic’s.
Fields§
§line: usize§start: usize§end: usizeTrait Implementations§
Source§impl Clone for OmittedSourceSpan
impl Clone for OmittedSourceSpan
Source§fn clone(&self) -> OmittedSourceSpan
fn clone(&self) -> OmittedSourceSpan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OmittedSourceSpan
Source§impl Debug for OmittedSourceSpan
impl Debug for OmittedSourceSpan
impl Eq for OmittedSourceSpan
Source§impl PartialEq for OmittedSourceSpan
impl PartialEq for OmittedSourceSpan
impl StructuralPartialEq for OmittedSourceSpan
Auto Trait Implementations§
impl Freeze for OmittedSourceSpan
impl RefUnwindSafe for OmittedSourceSpan
impl Send for OmittedSourceSpan
impl Sync for OmittedSourceSpan
impl Unpin for OmittedSourceSpan
impl UnsafeUnpin for OmittedSourceSpan
impl UnwindSafe for OmittedSourceSpan
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