#[repr(C)]pub struct PioDiagnosticSpanView {
pub source: PioStringView,
pub byte_start: u64,
pub byte_end: u64,
}Expand description
One borrowed source byte range from a diagnostic.
Fields§
§source: PioStringView§byte_start: u64§byte_end: u64Trait Implementations§
Source§impl Clone for PioDiagnosticSpanView
impl Clone for PioDiagnosticSpanView
Source§fn clone(&self) -> PioDiagnosticSpanView
fn clone(&self) -> PioDiagnosticSpanView
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 PioDiagnosticSpanView
Auto Trait Implementations§
impl !Send for PioDiagnosticSpanView
impl !Sync for PioDiagnosticSpanView
impl Freeze for PioDiagnosticSpanView
impl RefUnwindSafe for PioDiagnosticSpanView
impl Unpin for PioDiagnosticSpanView
impl UnsafeUnpin for PioDiagnosticSpanView
impl UnwindSafe for PioDiagnosticSpanView
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