pub type ComputedList = OwnedList<T>;
Expand description

The computed value for this property.

Aliased Type§

struct ComputedList(pub SmallVec<[T; 1]>);

Fields§

§0: SmallVec<[T; 1]>

Trait Implementations§

source§

impl<T: Clone> Clone for OwnedList<T>

source§

fn clone(&self) -> OwnedList<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for OwnedList<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> MallocSizeOf for OwnedList<T>where T: MallocSizeOf,

source§

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<T: PartialEq> PartialEq<OwnedList<T>> for OwnedList<T>

source§

fn eq(&self, other: &OwnedList<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T> ToAnimatedValue for OwnedList<T>where T: ToAnimatedValue,

§

type AnimatedValue = OwnedList<<T as ToAnimatedValue>::AnimatedValue>

The type of the animated value.
source§

fn from_animated_value(from: Self::AnimatedValue) -> Self

Converts back an animated value into a computed value.
source§

fn to_animated_value(self) -> Self::AnimatedValue

Converts this value to an animated value.
source§

impl<T> ToCss for OwnedList<T>where T: ToCss,

source§

fn to_css<W>(&self, dest: &mut CssWriter<'_, W>) -> Resultwhere W: Write,

Serialize self in CSS syntax, writing to dest.
source§

fn to_css_string(&self) -> String

Serialize self in CSS syntax and return a string. Read more
source§

impl<T> ToResolvedValue for OwnedList<T>where T: ToResolvedValue,

§

type ResolvedValue = OwnedList<<T as ToResolvedValue>::ResolvedValue>

The resolved value type we’re going to be converted to.
source§

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

Convert a resolved value to a resolved value.
source§

impl<T> StructuralPartialEq for OwnedList<T>