Struct wasm_bindgen_backend::util::ShortHash
source · [−]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: T
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more