#[non_exhaustive]pub struct SourceSite {
pub file: &'static str,
pub line: u32,
pub column: u32,
}Expand description
A source location captured by an instrumented call.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.file: &'static strSource file.
line: u32Line.
column: u32Column.
Trait Implementations§
Source§impl Clone for SourceSite
impl Clone for SourceSite
impl Copy for SourceSite
Source§impl Debug for SourceSite
impl Debug for SourceSite
Source§impl Display for SourceSite
impl Display for SourceSite
impl Eq for SourceSite
Source§impl Hash for SourceSite
impl Hash for SourceSite
Source§impl PartialEq for SourceSite
impl PartialEq for SourceSite
impl StructuralPartialEq for SourceSite
Auto Trait Implementations§
impl Freeze for SourceSite
impl RefUnwindSafe for SourceSite
impl Send for SourceSite
impl Sync for SourceSite
impl Unpin for SourceSite
impl UnsafeUnpin for SourceSite
impl UnwindSafe for SourceSite
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