Struct swc_atoms::AtomGenerator
source · pub struct AtomGenerator { /* private fields */ }
Expand description
Generator for an interned strings.
A lexer is expected to store this in it.
Implementations§
Trait Implementations§
source§impl Clone for AtomGenerator
impl Clone for AtomGenerator
source§fn clone(&self) -> AtomGenerator
fn clone(&self) -> AtomGenerator
Returns a copy 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 AtomGenerator
impl Debug for AtomGenerator
source§impl Default for AtomGenerator
impl Default for AtomGenerator
source§fn default() -> AtomGenerator
fn default() -> AtomGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AtomGenerator
impl Send for AtomGenerator
impl Sync for AtomGenerator
impl Unpin for AtomGenerator
impl UnwindSafe for AtomGenerator
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.