pub struct NoInterner;Expand description
Non-interning fallback that allocates each string as a Box<str>.
No deduplication occurs. The Key type is Box<str>,
making Interned<NoInterner> Clone but not Copy.
Trait Implementations§
Source§impl Clone for NoInterner
impl Clone for NoInterner
Source§fn clone(&self) -> NoInterner
fn clone(&self) -> NoInterner
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 NoInterner
impl Debug for NoInterner
Source§impl Default for NoInterner
impl Default for NoInterner
Source§fn default() -> NoInterner
fn default() -> NoInterner
Returns the “default value” for a type. Read more
Source§impl Interner for NoInterner
impl Interner for NoInterner
Source§impl PartialEq for NoInterner
impl PartialEq for NoInterner
impl Copy for NoInterner
impl Eq for NoInterner
impl StructuralPartialEq for NoInterner
Auto Trait Implementations§
impl Freeze for NoInterner
impl RefUnwindSafe for NoInterner
impl Send for NoInterner
impl Sync for NoInterner
impl Unpin for NoInterner
impl UnsafeUnpin for NoInterner
impl UnwindSafe for NoInterner
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