pub struct CallerInfo {
pub caller_name: String,
pub file: PathBuf,
pub line: usize,
}Expand description
Information about a function that calls another function
Fields§
§caller_name: String§file: PathBuf§line: usizeTrait Implementations§
Source§impl Clone for CallerInfo
impl Clone for CallerInfo
Source§fn clone(&self) -> CallerInfo
fn clone(&self) -> CallerInfo
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 moreAuto Trait Implementations§
impl Freeze for CallerInfo
impl RefUnwindSafe for CallerInfo
impl Send for CallerInfo
impl Sync for CallerInfo
impl Unpin for CallerInfo
impl UnwindSafe for CallerInfo
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