pub struct AllocTag(pub &'static str);Expand description
Caller-supplied tag for allocation log lines. Short-lived strings are interned by the logging resource; long-lived borrows are not retained.
Tuple Fields§
§0: &'static strImplementations§
Trait Implementations§
impl Copy for AllocTag
impl Eq for AllocTag
impl StructuralPartialEq for AllocTag
Auto Trait Implementations§
impl Freeze for AllocTag
impl RefUnwindSafe for AllocTag
impl Send for AllocTag
impl Sync for AllocTag
impl Unpin for AllocTag
impl UnsafeUnpin for AllocTag
impl UnwindSafe for AllocTag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more