pub type Atom = Atom<AtomStaticSet>;
Aliased Type§
struct Atom { /* private fields */ }
Implementations
Source§impl<Static> Atom<Static>where
Static: StaticAtomSet,
impl<Static> Atom<Static>where
Static: StaticAtomSet,
Source§impl<Static> Atom<Static>where
Static: StaticAtomSet,
impl<Static> Atom<Static>where
Static: StaticAtomSet,
Sourcepub fn to_ascii_uppercase(&self) -> Atom<Static>
pub fn to_ascii_uppercase(&self) -> Atom<Static>
Like to_ascii_uppercase
.
Sourcepub fn to_ascii_lowercase(&self) -> Atom<Static>
pub fn to_ascii_lowercase(&self) -> Atom<Static>
Like to_ascii_lowercase
.
Sourcepub fn eq_ignore_ascii_case(&self, other: &Atom<Static>) -> bool
pub fn eq_ignore_ascii_case(&self, other: &Atom<Static>) -> bool
Like eq_ignore_ascii_case
.
Sourcepub fn eq_str_ignore_ascii_case(&self, other: &str) -> bool
pub fn eq_str_ignore_ascii_case(&self, other: &str) -> bool
Like eq_ignore_ascii_case
, but takes an unhashed string as other
.
Trait Implementations§
Source§impl ToAnimatedValue for Atom
impl ToAnimatedValue for Atom
Source§type AnimatedValue = Atom<AtomStaticSet>
type AnimatedValue = Atom<AtomStaticSet>
The type of the animated value.
Source§fn to_animated_value(self, _: &Context<'_>) -> Self
fn to_animated_value(self, _: &Context<'_>) -> Self
Converts this value to an animated value.
Source§fn from_animated_value(animated: Self::AnimatedValue) -> Self
fn from_animated_value(animated: Self::AnimatedValue) -> Self
Converts back an animated value into a computed value.
Source§impl ToComputedValue for Atom
impl ToComputedValue for Atom
Source§type ComputedValue = Atom<AtomStaticSet>
type ComputedValue = Atom<AtomStaticSet>
The computed value type we’re going to be converted to.
Source§fn to_computed_value(&self, _: &Context<'_>) -> Self
fn to_computed_value(&self, _: &Context<'_>) -> Self
Convert a specified value to a computed value, using itself and the data
inside the
Context
.Source§fn from_computed_value(other: &Self) -> Self
fn from_computed_value(other: &Self) -> Self
Convert a computed value to specified value form. Read more
Source§impl ToResolvedValue for Atom
impl ToResolvedValue for Atom
Source§type ResolvedValue = Atom<AtomStaticSet>
type ResolvedValue = Atom<AtomStaticSet>
The resolved value type we’re going to be converted to.
Source§fn to_resolved_value(self, _: &Context<'_>) -> Self
fn to_resolved_value(self, _: &Context<'_>) -> Self
Convert a resolved value to a resolved value.
Source§fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
Convert a resolved value to resolved value form.
Source§impl<Static> Clone for Atom<Static>where
Static: StaticAtomSet,
impl<Static> Clone for Atom<Static>where
Static: StaticAtomSet,
Source§impl<Static> Debug for Atom<Static>where
Static: StaticAtomSet,
impl<Static> Debug for Atom<Static>where
Static: StaticAtomSet,
Source§impl<Static> Default for Atom<Static>where
Static: StaticAtomSet,
impl<Static> Default for Atom<Static>where
Static: StaticAtomSet,
Source§impl<'a, Static> Deserialize<'a> for Atom<Static>where
Static: StaticAtomSet,
impl<'a, Static> Deserialize<'a> for Atom<Static>where
Static: StaticAtomSet,
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Atom<Static>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D,
) -> Result<Atom<Static>, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<Static> Display for Atom<Static>where
Static: StaticAtomSet,
impl<Static> Display for Atom<Static>where
Static: StaticAtomSet,
Source§impl<Static> Hash for Atom<Static>where
Static: StaticAtomSet,
impl<Static> Hash for Atom<Static>where
Static: StaticAtomSet,
Source§impl<Static> MallocSizeOf for Atom<Static>where
Static: StaticAtomSet,
impl<Static> MallocSizeOf for Atom<Static>where
Static: StaticAtomSet,
Source§fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl<Static> Ord for Atom<Static>where
Static: StaticAtomSet,
impl<Static> Ord for Atom<Static>where
Static: StaticAtomSet,
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<Static> PartialOrd for Atom<Static>where
Static: StaticAtomSet,
impl<Static> PartialOrd for Atom<Static>where
Static: StaticAtomSet,
Source§impl<Static> PrecomputedHash for Atom<Static>where
Static: StaticAtomSet,
impl<Static> PrecomputedHash for Atom<Static>where
Static: StaticAtomSet,
Source§fn precomputed_hash(&self) -> u32
fn precomputed_hash(&self) -> u32
Return the precomputed hash for this item.
Source§impl<Static> Serialize for Atom<Static>where
Static: StaticAtomSet,
impl<Static> Serialize for Atom<Static>where
Static: StaticAtomSet,
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl SpecifiedValueInfo for Atom<AtomStaticSet>
impl SpecifiedValueInfo for Atom<AtomStaticSet>
Source§const SUPPORTED_TYPES: u8 = 0u8
const SUPPORTED_TYPES: u8 = 0u8
Supported CssTypes by the given value type. Read more
Source§impl<Static> ToShmem for Atom<Static>where
Static: StaticAtomSet,
impl<Static> ToShmem for Atom<Static>where
Static: StaticAtomSet,
Source§fn to_shmem(
&self,
_: &mut SharedMemoryBuilder,
) -> Result<ManuallyDrop<Atom<Static>>, String>
fn to_shmem( &self, _: &mut SharedMemoryBuilder, ) -> Result<ManuallyDrop<Atom<Static>>, String>
Clones this value into a form suitable for writing into a
SharedMemoryBuilder. Read more