Struct style::properties::generated::longhands::text_shadow::computed_value::ComputedList
source · pub struct ComputedList(pub UnderlyingList<T>);
Tuple Fields§
§0: UnderlyingList<T>
Trait Implementations§
source§impl Clone for ComputedList
impl Clone for ComputedList
source§fn clone(&self) -> ComputedList
fn clone(&self) -> ComputedList
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 ComputedList
impl Debug for ComputedList
source§impl From<ArcSlice<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>>> for ComputedList
impl From<ArcSlice<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>>>> for ComputedList
source§fn from(l: UnderlyingList<T>) -> Self
fn from(l: UnderlyingList<T>) -> Self
Converts to this type from the input type.
source§impl From<ComputedList> for UnderlyingList<T>
impl From<ComputedList> for UnderlyingList<T>
source§fn from(l: ComputedList) -> Self
fn from(l: ComputedList) -> Self
Converts to this type from the input type.
source§impl MallocSizeOf for ComputedList
impl MallocSizeOf for ComputedList
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 PartialEq for ComputedList
impl PartialEq for ComputedList
source§impl ToAnimatedValue for ComputedList
impl ToAnimatedValue for ComputedList
source§type AnimatedValue = OwnedList<<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>> as ToAnimatedValue>::AnimatedValue>
type AnimatedValue = OwnedList<<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>> as ToAnimatedValue>::AnimatedValue>
The type of the animated value.
source§fn to_animated_value(self, context: &Context<'_>) -> Self::AnimatedValue
fn to_animated_value(self, context: &Context<'_>) -> Self::AnimatedValue
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 ToCss for ComputedList
impl ToCss for ComputedList
source§impl ToResolvedValue for ComputedList
impl ToResolvedValue for ComputedList
source§type ResolvedValue = OwnedList<<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>> as ToResolvedValue>::ResolvedValue>
type ResolvedValue = OwnedList<<GenericSimpleShadow<GenericColor<Percentage>, CSSPixelLength, NonNegative<CSSPixelLength>> as ToResolvedValue>::ResolvedValue>
The resolved value type we’re going to be converted to.
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§fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
Convert a resolved value to resolved value form.
impl StructuralPartialEq for ComputedList
Auto Trait Implementations§
impl Freeze for ComputedList
impl RefUnwindSafe for ComputedList
impl Send for ComputedList
impl Sync for ComputedList
impl Unpin for ComputedList
impl UnwindSafe for ComputedList
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
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