pub struct AutoTrace<'a> {
pub(crate) code: u32,
pub(crate) args: &'a [usize; 4],
}
Expand description
An RAII class to automatically add start and end traces on creation and drop respectively.
Fields§
§code: u32
§args: &'a [usize; 4]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AutoTrace<'a>
impl<'a> RefUnwindSafe for AutoTrace<'a>
impl<'a> Send for AutoTrace<'a>
impl<'a> Sync for AutoTrace<'a>
impl<'a> Unpin for AutoTrace<'a>
impl<'a> UnwindSafe for AutoTrace<'a>
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