Skip to main content

Module intern

Module intern 

Source
Expand description

Declare types for interning various objects.

Re-exportsยง

use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::sync::Mutex; ๐Ÿ”’
use std::sync::MutexGuard; ๐Ÿ”’
use std::sync::OnceLock; ๐Ÿ”’
use std::sync::Weak; ๐Ÿ”’
use derive_deftly::define_derive_deftly; ๐Ÿ”’
use derive_more::Deref; ๐Ÿ”’
use derive_more::Display; ๐Ÿ”’
use derive_more::Into; ๐Ÿ”’
use educe::Educe; ๐Ÿ”’

Structsยง

Intern
A wrapper around Arc representing owned InternCache entries.
InternCache
An InternCache is a lazily-constructed weak set of objects.

Traitsยง

GloballyInternable
Offers access to globally available cache for InternCache.

Type Aliasesยง

WeakHashSet ๐Ÿ”’
Alias to force use of RandomState, regardless of features enabled in weak_tables.