pub struct XLang(pub Atom);
Expand description
Internal property that reflects the lang attribute
Tuple Fields§
§0: Atom
Implementations§
Trait Implementations§
source§impl MallocSizeOf for XLang
impl MallocSizeOf for XLang
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 Parse for XLang
impl Parse for XLang
source§fn parse<'i, 't>(
_: &ParserContext<'_>,
input: &mut Parser<'i, 't>
) -> Result<XLang, ParseError<'i>>
fn parse<'i, 't>( _: &ParserContext<'_>, input: &mut Parser<'i, 't> ) -> Result<XLang, ParseError<'i>>
Parse a value of this type. Read more
source§impl PartialEq<XLang> for XLang
impl PartialEq<XLang> for XLang
source§impl SpecifiedValueInfo for XLang
impl SpecifiedValueInfo for XLang
source§const SUPPORTED_TYPES: u8 = 0u8
const SUPPORTED_TYPES: u8 = 0u8
Supported CssTypes by the given value type. Read more
source§impl ToComputedValue for XLangwhere
Atom: ToComputedValue<ComputedValue = Atom>,
impl ToComputedValue for XLangwhere Atom: ToComputedValue<ComputedValue = Atom>,
§type ComputedValue = XLang
type ComputedValue = XLang
The computed value type we’re going to be converted to.
source§fn from_computed_value(from: &Self::ComputedValue) -> Self
fn from_computed_value(from: &Self::ComputedValue) -> Self
Convert a computed value to specified value form. Read more
source§fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue
fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue
Convert a specified value to a computed value, using itself and the data
inside the
Context
.source§impl ToResolvedValue for XLangwhere
Atom: ToResolvedValue<ResolvedValue = Atom>,
impl ToResolvedValue for XLangwhere Atom: ToResolvedValue<ResolvedValue = Atom>,
§type ResolvedValue = XLang
type ResolvedValue = XLang
The resolved value type we’re going to be converted to.
source§fn from_resolved_value(from: Self::ResolvedValue) -> Self
fn from_resolved_value(from: Self::ResolvedValue) -> Self
Convert a resolved value to resolved value form.
source§fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue
fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue
Convert a resolved value to a resolved value.
impl StructuralPartialEq for XLang
Auto Trait Implementations§
impl RefUnwindSafe for XLang
impl Send for XLang
impl Sync for XLang
impl Unpin for XLang
impl UnwindSafe for XLang
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert