pub type StaticString = Atom;
Expand description
This should be used as a key for hash maps and hash sets.
This will be replaced with Atom in the future.
Aliased Type§
struct StaticString(/* private fields */);
Implementations
Trait Implementations
source§impl Archive for Atom
impl Archive for Atom
NOT A PUBLIC API
source§type Resolver = StringResolver
type Resolver = StringResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
source§fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)
fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)
Creates the archived version of this value at the given position and
writes it to the given output. Read more
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize
. Read moresource§impl<__C: Fallible + ?Sized> CheckBytes<__C> for Atomwhere
<__C as Fallible>::Error: Trace,
Atom: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for Atomwhere
<__C as Fallible>::Error: Trace,
Atom: CheckBytes<__C>,
source§impl<'de> Deserialize<'de> for Atom
impl<'de> Deserialize<'de> for Atom
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Atom
impl Ord for Atom
source§impl PartialOrd for Atom
impl PartialOrd for Atom
source§impl<S: Fallible + Writer + ?Sized> Serialize<S> for Atomwhere
<S as Fallible>::Error: Source,
impl<S: Fallible + Writer + ?Sized> Serialize<S> for Atomwhere
<S as Fallible>::Error: Source,
NOT A PUBLIC API