pub struct Atom(/* private fields */);Expand description
An interned name. Cloning is a reference-count increment.
Equality is by text, so atoms from different interners still compare correctly for equality; ordering by token is only meaningful within one interner.
Implementations§
Source§impl Atom
impl Atom
Trait Implementations§
impl Eq for Atom
Auto Trait Implementations§
impl Forget for Atom
impl Freeze for Atom
impl Move for Atom
impl RefUnwindSafe for Atom
impl Send for Atom
impl Sync for Atom
impl Unpin for Atom
impl UnsafeUnpin for Atom
impl UnwindSafe for Atom
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