#[repr(C)]pub struct TextTransform {
pub case_: TextTransformCase,
pub other_: TextTransformOther,
}
Expand description
Specified value of the text-transform property, stored in two parts: the case-related transforms (mutually exclusive, only one may be in effect), and others (non-exclusive).
Fields§
§case_: TextTransformCase
Case transform, if any.
other_: TextTransformOther
Non-case transforms.
Implementations§
Trait Implementations§
source§impl Clone for TextTransform
impl Clone for TextTransform
source§fn clone(&self) -> TextTransform
fn clone(&self) -> TextTransform
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 TextTransform
impl Debug for TextTransform
source§impl MallocSizeOf for TextTransform
impl MallocSizeOf for TextTransform
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 TextTransform
impl Parse for TextTransform
source§fn parse<'i, 't>(
_context: &ParserContext<'_>,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
fn parse<'i, 't>( _context: &ParserContext<'_>, input: &mut Parser<'i, 't> ) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more
source§impl PartialEq<TextTransform> for TextTransform
impl PartialEq<TextTransform> for TextTransform
source§fn eq(&self, other: &TextTransform) -> bool
fn eq(&self, other: &TextTransform) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SpecifiedValueInfo for TextTransform
impl SpecifiedValueInfo for TextTransform
source§const SUPPORTED_TYPES: u8 = 0u8
const SUPPORTED_TYPES: u8 = 0u8
Supported CssTypes by the given value type. Read more
source§impl ToComputedValue for TextTransformwhere
TextTransformCase: ToComputedValue<ComputedValue = TextTransformCase>,
TextTransformOther: ToComputedValue<ComputedValue = TextTransformOther>,
impl ToComputedValue for TextTransformwhere TextTransformCase: ToComputedValue<ComputedValue = TextTransformCase>, TextTransformOther: ToComputedValue<ComputedValue = TextTransformOther>,
§type ComputedValue = TextTransform
type ComputedValue = TextTransform
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 ToCss for TextTransform
impl ToCss for TextTransform
source§impl ToResolvedValue for TextTransformwhere
TextTransformCase: ToResolvedValue<ResolvedValue = TextTransformCase>,
TextTransformOther: ToResolvedValue<ResolvedValue = TextTransformOther>,
impl ToResolvedValue for TextTransformwhere TextTransformCase: ToResolvedValue<ResolvedValue = TextTransformCase>, TextTransformOther: ToResolvedValue<ResolvedValue = TextTransformOther>,
§type ResolvedValue = TextTransform
type ResolvedValue = TextTransform
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.
source§impl ToShmem for TextTransform
impl ToShmem for TextTransform
impl Copy for TextTransform
impl Eq for TextTransform
impl StructuralEq for TextTransform
impl StructuralPartialEq for TextTransform
Auto Trait Implementations§
impl RefUnwindSafe for TextTransform
impl Send for TextTransform
impl Sync for TextTransform
impl Unpin for TextTransform
impl UnwindSafe for TextTransform
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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