pub struct ShortHash<T>(pub T);Expand description
Small utility used when generating symbol names.
Hashes the public field here along with a few cargo-set env vars to distinguish between runs of the procedural macro.
Tuple Fields§
§0: TTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ShortHash<T>where
    T: Freeze,
impl<T> RefUnwindSafe for ShortHash<T>where
    T: RefUnwindSafe,
impl<T> Send for ShortHash<T>where
    T: Send,
impl<T> Sync for ShortHash<T>where
    T: Sync,
impl<T> Unpin for ShortHash<T>where
    T: Unpin,
impl<T> UnwindSafe for ShortHash<T>where
    T: UnwindSafe,
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