pub struct FunctionMeta {
pub id: &'static str,
pub label: &'static str,
pub module_path: &'static str,
pub file: &'static str,
pub line: u32,
pub source: &'static str,
}Expand description
Static metadata generated for traced functions.
Fields§
§id: &'static strStable function identifier.
label: &'static strHuman-readable label.
module_path: &'static strRust module path.
file: &'static strSource file.
line: u32Source line.
source: &'static strOriginal source snippet captured from the macro input.
Trait Implementations§
Source§impl Clone for FunctionMeta
impl Clone for FunctionMeta
Source§fn clone(&self) -> FunctionMeta
fn clone(&self) -> FunctionMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionMeta
impl Debug for FunctionMeta
impl Copy for FunctionMeta
Auto Trait Implementations§
impl Freeze for FunctionMeta
impl RefUnwindSafe for FunctionMeta
impl Send for FunctionMeta
impl Sync for FunctionMeta
impl Unpin for FunctionMeta
impl UnsafeUnpin for FunctionMeta
impl UnwindSafe for FunctionMeta
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