Struct som_interpreter_bc::interner::Interned
source · pub struct Interned(/* private fields */);
Expand description
An interned string.
This is fast to move, clone and compare.
Trait Implementations§
source§impl PartialEq for Interned
impl PartialEq for Interned
impl Copy for Interned
impl Eq for Interned
impl StructuralPartialEq for Interned
Auto Trait Implementations§
impl Freeze for Interned
impl RefUnwindSafe for Interned
impl Send for Interned
impl Sync for Interned
impl Unpin for Interned
impl UnwindSafe for Interned
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<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.