pub struct TracerAssetKey {
pub asset_type: &'static str,
pub key_debug: String,
}Expand description
Represents an asset key in a type-erased manner for tracing.
Fields§
§asset_type: &'static strThe asset type name (e.g., “calc::SourceFile”)
key_debug: StringDebug representation of the key (e.g., “SourceFile("main.txt")”)
Implementations§
Trait Implementations§
Source§impl Clone for TracerAssetKey
impl Clone for TracerAssetKey
Source§fn clone(&self) -> TracerAssetKey
fn clone(&self) -> TracerAssetKey
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 TracerAssetKey
impl Debug for TracerAssetKey
Source§impl Hash for TracerAssetKey
impl Hash for TracerAssetKey
Source§impl PartialEq for TracerAssetKey
impl PartialEq for TracerAssetKey
impl Eq for TracerAssetKey
impl StructuralPartialEq for TracerAssetKey
Auto Trait Implementations§
impl Freeze for TracerAssetKey
impl RefUnwindSafe for TracerAssetKey
impl Send for TracerAssetKey
impl Sync for TracerAssetKey
impl Unpin for TracerAssetKey
impl UnwindSafe for TracerAssetKey
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.