pub type AtomIdent = GenericAtomIdent<AtomStaticSet>;
Expand description
A generic CSS <ident>
stored as an Atom
, for the default atom set.
Aliased Type§
struct AtomIdent(pub Atom<AtomStaticSet>);
Fields§
§0: Atom<AtomStaticSet>
Implementations
Source§impl<Set: StaticAtomSet> GenericAtomIdent<Set>
impl<Set: StaticAtomSet> GenericAtomIdent<Set>
Trait Implementations§
Source§impl ToComputedValue for AtomIdent
impl ToComputedValue for AtomIdent
Source§type ComputedValue = GenericAtomIdent<AtomStaticSet>
type ComputedValue = GenericAtomIdent<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 AtomIdent
impl ToResolvedValue for AtomIdent
Source§type ResolvedValue = GenericAtomIdent<AtomStaticSet>
type ResolvedValue = GenericAtomIdent<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<Set: StaticAtomSet> Borrow<Atom<Set>> for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> Borrow<Atom<Set>> for GenericAtomIdent<Set>
Source§impl<Set: StaticAtomSet> Clone for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> Clone for GenericAtomIdent<Set>
Source§impl<Set: StaticAtomSet> Debug for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> Debug for GenericAtomIdent<Set>
Source§impl<Set: StaticAtomSet> Default for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> Default for GenericAtomIdent<Set>
Source§impl<'a, Set: StaticAtomSet> From<&'a str> for GenericAtomIdent<Set>
impl<'a, Set: StaticAtomSet> From<&'a str> for GenericAtomIdent<Set>
Source§impl<Set: StaticAtomSet> Hash for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> Hash for GenericAtomIdent<Set>
Source§impl<Set: StaticAtomSet> MallocSizeOf for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> MallocSizeOf for GenericAtomIdent<Set>
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<Set: StaticAtomSet> PartialEq for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> PartialEq for GenericAtomIdent<Set>
Source§impl<Set: StaticAtomSet> PrecomputedHash for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> PrecomputedHash for GenericAtomIdent<Set>
Source§fn precomputed_hash(&self) -> u32
fn precomputed_hash(&self) -> u32
Return the precomputed hash for this item.
Source§impl<Set: StaticAtomSet> SpecifiedValueInfo for GenericAtomIdent<Set>
impl<Set: StaticAtomSet> SpecifiedValueInfo for GenericAtomIdent<Set>
Source§const SUPPORTED_TYPES: u8 = 0u8
const SUPPORTED_TYPES: u8 = 0u8
Supported CssTypes by the given value type. Read more