Trait style::values::computed::ToComputedValue

source ·
pub trait ToComputedValue {
    type ComputedValue;

    // Required methods
    fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue;
    fn from_computed_value(computed: &Self::ComputedValue) -> Self;
}
Expand description

A trait to represent the conversion between computed and specified values.

This trait is derivable with #[derive(ToComputedValue)]. The derived implementation just calls ToComputedValue::to_computed_value on each field of the passed value. The deriving code assumes that if the type isn’t generic, then the trait can be implemented as simple Clone::clone calls, this means that a manual implementation with ComputedValue = Self is bogus if it returns anything else than a clone.

Required Associated Types§

source

type ComputedValue

The computed value type we’re going to be converted to.

Required Methods§

source

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

fn from_computed_value(computed: &Self::ComputedValue) -> Self

Convert a computed value to specified value form.

This will be used for recascading during animation. Such from_computed_valued values should recompute to the same value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToComputedValue for AllowedNumericType

source§

impl ToComputedValue for bool

§

type ComputedValue = bool

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for f32

§

type ComputedValue = f32

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for i32

§

type ComputedValue = i32

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for u8

§

type ComputedValue = u8

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for u16

§

type ComputedValue = u16

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for u32

§

type ComputedValue = u32

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for ()

§

type ComputedValue = ()

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for usize

§

type ComputedValue = usize

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for Box<str>

§

type ComputedValue = Box<str>

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(other: &Self) -> Self

source§

impl ToComputedValue for String

source§

impl<A, B> ToComputedValue for (A, B)

source§

impl<T> ToComputedValue for Option<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for Arc<T>
where T: ToComputedValue<ComputedValue = T>,

§

type ComputedValue = Arc<T>

source§

fn to_computed_value(&self, _: &Context<'_>) -> Self

source§

fn from_computed_value(computed: &Self) -> Self

source§

impl<T> ToComputedValue for ThinVec<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for Box<[T]>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for Box<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for Vec<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for Size2D<T>
where T: ToComputedValue,

Implementors§

source§

impl ToComputedValue for ColorSpace

source§

impl ToComputedValue for HueInterpolationMethod

source§

impl ToComputedValue for CounterStyle
where CustomIdent: ToComputedValue<ComputedValue = CustomIdent>, SymbolsType: ToComputedValue<ComputedValue = SymbolsType>, Symbols: ToComputedValue<ComputedValue = Symbols>, AtomString: ToComputedValue<ComputedValue = AtomString>,

source§

impl ToComputedValue for Symbol
where OwnedStr: ToComputedValue<ComputedValue = OwnedStr>, CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,

source§

impl ToComputedValue for SymbolsType

source§

impl ToComputedValue for FontDisplay

source§

impl ToComputedValue for LonghandId

source§

impl ToComputedValue for ShorthandId

source§

impl ToComputedValue for style::properties::generated::longhands::_servo_overflow_clip_box::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::_servo_top_layer::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::backface_visibility::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::background_attachment::single_value::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::background_clip::single_value::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::background_origin::single_value::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::border_collapse::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::box_sizing::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::column_span::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::direction::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::empty_cells::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::flex_direction::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::flex_wrap::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::font_variant_caps::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::list_style_position::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::list_style_type::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::mix_blend_mode::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::object_fit::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::position::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::table_layout::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::text_decoration_style::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::text_rendering::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::text_wrap_mode::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::unicode_bidi::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::visibility::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::white_space_collapse::computed_value::T

source§

impl ToComputedValue for style::properties::generated::longhands::writing_mode::computed_value::T

source§

impl ToComputedValue for Multiplier

source§

impl ToComputedValue for Impossible

source§

impl ToComputedValue for ArcSize

source§

impl ToComputedValue for ArcSweep

source§

impl ToComputedValue for ByTo

source§

impl ToComputedValue for FillRule

source§

impl ToComputedValue for ShapeBox

source§

impl ToComputedValue for ShapeGeometryBox
where ShapeBox: ToComputedValue<ComputedValue = ShapeBox>,

source§

impl ToComputedValue for VerticalAlignKeyword

source§

impl ToComputedValue for StepPosition

source§

impl ToComputedValue for TimingKeyword

source§

impl ToComputedValue for GradientCompatMode

source§

impl ToComputedValue for ShapeExtent

source§

impl ToComputedValue for AnchorSizeKeyword

source§

impl ToComputedValue for RaySize

source§

impl ToComputedValue for PageOrientation

source§

impl ToComputedValue for AnchorSideKeyword

source§

impl ToComputedValue for TransformStyle

source§

impl ToComputedValue for AnimationComposition

source§

impl ToComputedValue for AnimationDirection

source§

impl ToComputedValue for AnimationFillMode

source§

impl ToComputedValue for AnimationIterationCount

source§

impl ToComputedValue for AnimationPlayState

source§

impl ToComputedValue for ScrollAxis

source§

impl ToComputedValue for Scroller

source§

impl ToComputedValue for TransitionBehavior

source§

impl ToComputedValue for TransitionProperty

source§

impl ToComputedValue for BackgroundRepeatKeyword

source§

impl ToComputedValue for BasicShapeRect

source§

impl ToComputedValue for BorderImageRepeatKeyword

source§

impl ToComputedValue for BorderStyle

source§

impl ToComputedValue for LineWidth

source§

impl ToComputedValue for Appearance

source§

impl ToComputedValue for BaselineSource

source§

impl ToComputedValue for BreakBetween

source§

impl ToComputedValue for BreakWithin

source§

impl ToComputedValue for SpecifiedClear

source§

impl ToComputedValue for ContainerType

source§

impl ToComputedValue for ContentVisibility

source§

impl ToComputedValue for SpecifiedFloat

source§

impl ToComputedValue for Overflow

source§

impl ToComputedValue for OverflowAnchor

source§

impl ToComputedValue for OverflowClipBox

source§

impl ToComputedValue for OverscrollBehavior

source§

impl ToComputedValue for Resize

source§

impl ToComputedValue for ScrollSnapAlignKeyword

source§

impl ToComputedValue for ScrollSnapAxis

source§

impl ToComputedValue for ScrollSnapStop

source§

impl ToComputedValue for ScrollSnapStrictness

source§

impl ToComputedValue for Zoom

source§

impl ToComputedValue for Color

source§

impl ToComputedValue for ForcedColorAdjust

source§

impl ToComputedValue for PrintColorAdjust

source§

impl ToComputedValue for AngleOrPercentage

source§

impl ToComputedValue for NumberOrPercentage

source§

impl ToComputedValue for style::values::specified::font::FontFamily

source§

impl ToComputedValue for FontSize

source§

impl ToComputedValue for FontSizeKeyword

source§

impl ToComputedValue for FontStretch

source§

impl ToComputedValue for FontStyle

source§

impl ToComputedValue for FontSynthesis

source§

impl ToComputedValue for FontWeight

source§

impl ToComputedValue for VariantAlternates

source§

impl ToComputedValue for XTextScale

source§

impl ToComputedValue for ImageRendering

source§

impl ToComputedValue for LineDirection

source§

impl ToComputedValue for AbsoluteLength

source§

impl ToComputedValue for Length

source§

impl ToComputedValue for LengthPercentage

source§

impl ToComputedValue for NoCalcLength

source§

impl ToComputedValue for Quotes
where QuoteList: ToComputedValue<ComputedValue = QuoteList>,

source§

impl ToComputedValue for CoordBox

source§

impl ToComputedValue for OutlineStyle
where BorderStyle: ToComputedValue<ComputedValue = BorderStyle>,

source§

impl ToComputedValue for PageName
where CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,

source§

impl ToComputedValue for AnchorScope

source§

impl ToComputedValue for GridTemplateAreas

source§

impl ToComputedValue for HorizontalPositionKeyword

source§

impl ToComputedValue for MasonryItemOrder

source§

impl ToComputedValue for MasonryPlacement

source§

impl ToComputedValue for PositionAnchor
where DashedIdent: ToComputedValue<ComputedValue = DashedIdent>,

source§

impl ToComputedValue for PositionAreaKeyword

source§

impl ToComputedValue for PositionTryFallbacksItem

source§

impl ToComputedValue for PositionTryFallbacksTryTacticKeyword

source§

impl ToComputedValue for PositionTryOrder

source§

impl ToComputedValue for VerticalPositionKeyword

source§

impl ToComputedValue for DProperty
where SVGPathData: ToComputedValue<ComputedValue = SVGPathData>,

source§

impl ToComputedValue for CaptionSide

source§

impl ToComputedValue for HyphenateCharacter
where OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,

source§

impl ToComputedValue for LineBreak

source§

impl ToComputedValue for MozControlCharacterVisibility

source§

impl ToComputedValue for OverflowWrap

source§

impl ToComputedValue for RubyPosition

source§

impl ToComputedValue for TextAlign

source§

impl ToComputedValue for TextAlignKeyword

source§

impl ToComputedValue for TextAlignLast

source§

impl ToComputedValue for TextDecorationSkipInk

source§

impl ToComputedValue for TextEmphasisFillMode

source§

impl ToComputedValue for TextEmphasisShapeKeyword

source§

impl ToComputedValue for TextEmphasisStyle

source§

impl ToComputedValue for TextJustify

source§

impl ToComputedValue for TextOverflowSide
where AtomString: ToComputedValue<ComputedValue = AtomString>,

source§

impl ToComputedValue for TextTransformCase

source§

impl ToComputedValue for WordBreak

source§

impl ToComputedValue for TransformBox

source§

impl ToComputedValue for CursorKind

source§

impl ToComputedValue for Inert

source§

impl ToComputedValue for MozTheme

source§

impl ToComputedValue for PointerEvents

source§

impl ToComputedValue for UserFocus

source§

impl ToComputedValue for UserInput

source§

impl ToComputedValue for UserModify

source§

impl ToComputedValue for UserSelect

source§

impl ToComputedValue for FontFamilyNameSyntax

source§

impl ToComputedValue for GenericFontFamily

source§

impl ToComputedValue for SingleFontFamily

source§

impl ToComputedValue for ColorInterpolationMethod

source§

impl ToComputedValue for Symbols
where ArcSlice<Symbol>: ToComputedValue<ComputedValue = ArcSlice<Symbol>>,

source§

impl ToComputedValue for VariableValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_composition::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_delay::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_direction::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_duration::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_fill_mode::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_iteration_count::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_name::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_play_state::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_timeline::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::animation_timing_function::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_attachment::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_clip::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_image::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_origin::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_position_x::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_position_y::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_repeat::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::background_size::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::box_shadow::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::filter::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::text_shadow::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::transition_behavior::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::transition_delay::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::transition_duration::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::transition_property::SpecifiedValue

source§

impl ToComputedValue for style::properties::generated::longhands::transition_timing_function::SpecifiedValue

source§

impl ToComputedValue for NonCustomPropertyId
where u16: ToComputedValue<ComputedValue = u16>,

source§

impl ToComputedValue for OwnedStr

source§

impl ToComputedValue for UrlExtraData

source§

impl ToComputedValue for Path
where FillRule: ToComputedValue<ComputedValue = FillRule>, SVGPathData: ToComputedValue<ComputedValue = SVGPathData>,

source§

impl ToComputedValue for ColorMixFlags

source§

impl ToComputedValue for FontTag
where u32: ToComputedValue<ComputedValue = u32>,

source§

impl ToComputedValue for GradientFlags
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for PaintWorklet
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for AlignContent

source§

impl ToComputedValue for AlignFlags
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for AlignItems
where AlignFlags: ToComputedValue<ComputedValue = AlignFlags>,

source§

impl ToComputedValue for AlignSelf

source§

impl ToComputedValue for ContentDistribution
where AlignFlags: ToComputedValue<ComputedValue = AlignFlags>,

source§

impl ToComputedValue for JustifyContent

source§

impl ToComputedValue for JustifyItems

source§

impl ToComputedValue for JustifySelf

source§

impl ToComputedValue for SelfAlignment
where AlignFlags: ToComputedValue<ComputedValue = AlignFlags>,

source§

impl ToComputedValue for Angle

source§

impl ToComputedValue for AnimationName

source§

impl ToComputedValue for ScrollFunction
where Scroller: ToComputedValue<ComputedValue = Scroller>, ScrollAxis: ToComputedValue<ComputedValue = ScrollAxis>,

source§

impl ToComputedValue for TimelineName
where DashedIdent: ToComputedValue<ComputedValue = DashedIdent>,

source§

impl ToComputedValue for ViewTransitionName
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for BackgroundRepeat

source§

impl ToComputedValue for BorderImageRepeat

source§

impl ToComputedValue for BorderSideWidth

source§

impl ToComputedValue for Contain
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for ContainerName

source§

impl ToComputedValue for Display
where u16: ToComputedValue<ComputedValue = u16>,

source§

impl ToComputedValue for ScrollSnapAlign

source§

impl ToComputedValue for ScrollSnapType

source§

impl ToComputedValue for ScrollbarGutter
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for TouchAction
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for WillChange

source§

impl ToComputedValue for WillChangeBits
where u16: ToComputedValue<ComputedValue = u16>,

source§

impl ToComputedValue for ColorPropertyValue

source§

impl ToComputedValue for ColorScheme

source§

impl ToComputedValue for ColorSchemeFlags
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for NonNegativeFactor

source§

impl ToComputedValue for ZeroToOneFactor

source§

impl ToComputedValue for FontPalette
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for FontVariantAlternates

source§

impl ToComputedValue for FontVariantEastAsian
where u16: ToComputedValue<ComputedValue = u16>,

source§

impl ToComputedValue for FontVariantLigatures
where u16: ToComputedValue<ComputedValue = u16>,

source§

impl ToComputedValue for FontVariantNumeric
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for KeywordInfo

source§

impl ToComputedValue for MozScriptMinSize

source§

impl ToComputedValue for MozScriptSizeMultiplier
where f32: ToComputedValue<ComputedValue = f32>,

source§

impl ToComputedValue for XLang
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for QuoteList

source§

impl ToComputedValue for QuotePair
where OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,

source§

impl ToComputedValue for OffsetRotate

source§

impl ToComputedValue for style::values::specified::percentage::Percentage

source§

impl ToComputedValue for AnchorName

source§

impl ToComputedValue for DashedIdentAndOrTryTactic

source§

impl ToComputedValue for GridAutoFlow
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for MasonryAutoFlow

source§

impl ToComputedValue for NamedArea
where Atom: ToComputedValue<ComputedValue = Atom>, UnsignedRange: ToComputedValue<ComputedValue = UnsignedRange>,

source§

impl ToComputedValue for PositionArea

source§

impl ToComputedValue for PositionTryFallbacks

source§

impl ToComputedValue for PositionTryFallbacksTryTactic

source§

impl ToComputedValue for PositionVisibility
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for TemplateAreas

source§

impl ToComputedValue for TemplateAreasArc

source§

impl ToComputedValue for UnsignedRange
where u32: ToComputedValue<ComputedValue = u32>,

source§

impl ToComputedValue for Resolution

source§

impl ToComputedValue for Attr
where Prefix: ToComputedValue<ComputedValue = Prefix>, Namespace: ToComputedValue<ComputedValue = Namespace>, Atom: ToComputedValue<ComputedValue = Atom>, AtomString: ToComputedValue<ComputedValue = AtomString>,

source§

impl ToComputedValue for Integer

source§

impl ToComputedValue for Number

source§

impl ToComputedValue for Opacity

source§

impl ToComputedValue for ContextPropertyBits
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for MozContextProperties

source§

impl ToComputedValue for SVGPaintOrder
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for VectorEffect
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for SVGPathData

source§

impl ToComputedValue for TextDecorationLine
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for TextEmphasisPosition
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for TextOverflow
where TextOverflowSide: ToComputedValue<ComputedValue = TextOverflowSide>, bool: ToComputedValue<ComputedValue = bool>,

source§

impl ToComputedValue for TextTransform
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for TextUnderlinePosition
where u8: ToComputedValue<ComputedValue = u8>,

source§

impl ToComputedValue for Time

source§

impl ToComputedValue for BoolInteger
where bool: ToComputedValue<ComputedValue = bool>,

source§

impl ToComputedValue for AtomString
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for CustomIdent
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for DashedIdent
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for KeyframesName
where Atom: ToComputedValue<ComputedValue = Atom>,

source§

impl ToComputedValue for FamilyName

source§

impl ToComputedValue for style::values::computed::font::FontFamily
where FontFamilyList: ToComputedValue<ComputedValue = FontFamilyList>, bool: ToComputedValue<ComputedValue = bool>,

source§

impl ToComputedValue for FontFamilyList

source§

impl ToComputedValue for FontLanguageOverride
where u32: ToComputedValue<ComputedValue = u32>,

source§

impl ToComputedValue for CSSPixelLength
where CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,

source§

impl ToComputedValue for style::values::computed::percentage::Percentage
where CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,

source§

impl ToComputedValue for SpecifiedUrl

source§

impl ToComputedValue for Atom

source§

impl ToComputedValue for Namespace

source§

impl ToComputedValue for Prefix

source§

impl ToComputedValue for TimingFunction

source§

impl ToComputedValue for BoxShadow

source§

impl ToComputedValue for SimpleShadow

source§

impl ToComputedValue for FontSizeAdjust

source§

impl ToComputedValue for LineHeight

source§

impl ToComputedValue for SpecifiedFontStyle

source§

impl ToComputedValue for ImageSet

source§

impl ToComputedValue for PageSize

source§

impl ToComputedValue for LetterSpacing

source§

impl ToComputedValue for WordSpacing

source§

impl ToComputedValue for AtomIdent

source§

impl<A, B> ToComputedValue for Either<A, B>

source§

impl<Angle, LengthPercentage> ToComputedValue for GenericPathOrShapeFunction<Angle, LengthPercentage>
where Angle: ToComputedValue, LengthPercentage: ToComputedValue,

source§

impl<Angle, LengthPercentage> ToComputedValue for GenericShapeCommand<Angle, LengthPercentage>
where Angle: ToComputedValue, LengthPercentage: ToComputedValue,

source§

impl<Angle, LengthPercentage> ToComputedValue for Shape<Angle, LengthPercentage>
where Angle: ToComputedValue, LengthPercentage: ToComputedValue,

source§

impl<Angle, NonNegativeFactor, ZeroToOneFactor, Length, Shadow, U> ToComputedValue for GenericFilter<Angle, NonNegativeFactor, ZeroToOneFactor, Length, Shadow, U>
where Angle: ToComputedValue, NonNegativeFactor: ToComputedValue, ZeroToOneFactor: ToComputedValue, Length: ToComputedValue, Shadow: ToComputedValue, U: ToComputedValue,

source§

impl<Angle, Number, Length, Integer, LengthPercentage> ToComputedValue for GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage>

source§

impl<Angle, Position> ToComputedValue for GenericRayFunction<Angle, Position>
where Angle: ToComputedValue, Position: ToComputedValue,

source§

impl<Angle, Position, LengthPercentage, NonNegativeLengthPercentage, BasicShapeRect> ToComputedValue for GenericBasicShape<Angle, Position, LengthPercentage, NonNegativeLengthPercentage, BasicShapeRect>
where Angle: ToComputedValue, Position: ToComputedValue, LengthPercentage: ToComputedValue, NonNegativeLengthPercentage: ToComputedValue, BasicShapeRect: ToComputedValue,

§

type ComputedValue = GenericBasicShape<<Angle as ToComputedValue>::ComputedValue, <Position as ToComputedValue>::ComputedValue, <LengthPercentage as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue, <BasicShapeRect as ToComputedValue>::ComputedValue>

source§

impl<BasicShape, I> ToComputedValue for GenericShapeOutside<BasicShape, I>
where BasicShape: ToComputedValue, I: ToComputedValue,

source§

impl<BasicShape, U> ToComputedValue for GenericClipPath<BasicShape, U>
where BasicShape: ToComputedValue, U: ToComputedValue,

source§

impl<C> ToComputedValue for GenericColorOrAuto<C>
where C: ToComputedValue,

source§

impl<C> ToComputedValue for GenericSVGPaintFallback<C>
where C: ToComputedValue,

source§

impl<C> ToComputedValue for GenericCaretColor<C>
where C: ToComputedValue,

source§

impl<C, U> ToComputedValue for GenericSVGPaintKind<C, U>

source§

impl<Color> ToComputedValue for GenericScrollbarColor<Color>
where Color: ToComputedValue,

source§

impl<Color, Percentage> ToComputedValue for GenericColorMix<Color, Percentage>
where Color: ToComputedValue, Percentage: ToComputedValue,

source§

impl<Color, T> ToComputedValue for GenericGradientItem<Color, T>

source§

impl<Color, T> ToComputedValue for ColorStop<Color, T>

source§

impl<Color, Url> ToComputedValue for GenericSVGPaint<Color, Url>
where Color: ToComputedValue, Url: ToComputedValue,

source§

impl<Component> ToComputedValue for ValueInner<Component>
where Component: ToComputedValue,

source§

impl<Component> ToComputedValue for ComponentList<Component>
where Component: ToComputedValue,

source§

impl<Component> ToComputedValue for Value<Component>
where Component: ToComputedValue,

source§

impl<Factor> ToComputedValue for GenericFontSizeAdjust<Factor>
where Factor: ToComputedValue,

source§

impl<Function> ToComputedValue for GenericOffsetPath<Function>
where Function: ToComputedValue,

source§

impl<G, ImageUrl, Color, Percentage, Resolution> ToComputedValue for GenericImage<G, ImageUrl, Color, Percentage, Resolution>
where G: ToComputedValue, ImageUrl: ToComputedValue, Color: ToComputedValue, Percentage: ToComputedValue, Resolution: ToComputedValue, Box<GenericImageSet<Self, Resolution>>: ToComputedValue<ComputedValue = Box<GenericImageSet<GenericImage<<G as ToComputedValue>::ComputedValue, <ImageUrl as ToComputedValue>::ComputedValue, <Color as ToComputedValue>::ComputedValue, <Percentage as ToComputedValue>::ComputedValue, <Resolution as ToComputedValue>::ComputedValue>, <Resolution as ToComputedValue>::ComputedValue>>>,

source§

impl<H, V> ToComputedValue for GenericOffsetPosition<H, V>

source§

impl<H, V> ToComputedValue for GenericPosition<H, V>

source§

impl<H, V, Depth> ToComputedValue for GenericTransformOrigin<H, V, Depth>

source§

impl<I> ToComputedValue for GenericContentItem<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericLineNameListValue<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericZIndex<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericLineClamp<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericCounterIncrement<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericCounterReset<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericCounterSet<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericCounters<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericLineNameList<I>
where I: ToComputedValue,

source§

impl<I> ToComputedValue for GenericNameRepeat<I>
where I: ToComputedValue,

source§

impl<I, C> ToComputedValue for GenericCrossFadeImage<I, C>

source§

impl<Image> ToComputedValue for GenericContent<Image>
where Image: ToComputedValue,

source§

impl<Image> ToComputedValue for GenericContentItems<Image>
where Image: ToComputedValue,

source§

impl<Image> ToComputedValue for GenericCursor<Image>
where Image: ToComputedValue,

source§

impl<Image, Color, Percentage> ToComputedValue for GenericCrossFade<Image, Color, Percentage>
where Image: ToComputedValue, Color: ToComputedValue, Percentage: ToComputedValue,

source§

impl<Image, Color, Percentage> ToComputedValue for GenericCrossFadeElement<Image, Color, Percentage>
where Image: ToComputedValue, Color: ToComputedValue, Percentage: ToComputedValue,

source§

impl<Image, Number> ToComputedValue for GenericCursorImage<Image, Number>
where Image: ToComputedValue, Number: ToComputedValue,

source§

impl<Image, Resolution> ToComputedValue for GenericImageSetItem<Image, Resolution>
where Image: ToComputedValue, Resolution: ToComputedValue,

source§

impl<Integer> ToComputedValue for RepeatCount<Integer>
where Integer: ToComputedValue,

source§

impl<Integer> ToComputedValue for GenericCounterPair<Integer>
where Integer: ToComputedValue,

source§

impl<Integer> ToComputedValue for FeatureTagValue<Integer>
where Integer: ToComputedValue,

source§

impl<Integer> ToComputedValue for GenericGridLine<Integer>
where Integer: ToComputedValue,

source§

impl<L> ToComputedValue for GenericContainIntrinsicSize<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericTrackBreadth<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericTrackSize<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericSVGLength<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericSVGStrokeDashArray<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericTextDecorationLength<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericPerspectiveFunction<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericBorderCornerRadius<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for GenericBorderSpacing<L>
where L: ToComputedValue,

source§

impl<L> ToComputedValue for style::values::generics::size::Size2D<L>
where L: ToComputedValue,

source§

impl<L, I> ToComputedValue for GenericGridTemplateComponent<L, I>

source§

impl<L, I> ToComputedValue for GenericTrackRepeat<L, I>

source§

impl<L, N> ToComputedValue for GenericLengthOrNumber<L, N>

source§

impl<LP> ToComputedValue for GenericMargin<LP>
where LP: ToComputedValue,

source§

impl<LP, N> ToComputedValue for GenericBorderImageSideWidth<LP, N>

source§

impl<Length, Number, Percentage, LengthPercentage, Color, Image, Url, Integer, Angle, Time, Resolution, TransformFunction> ToComputedValue for GenericValueComponent<Length, Number, Percentage, LengthPercentage, Color, Image, Url, Integer, Angle, Time, Resolution, TransformFunction>
where Length: ToComputedValue, Number: ToComputedValue, Percentage: ToComputedValue, LengthPercentage: ToComputedValue, Color: ToComputedValue, Image: ToComputedValue, Url: ToComputedValue, Integer: ToComputedValue, Angle: ToComputedValue, Time: ToComputedValue, Resolution: ToComputedValue, TransformFunction: ToComputedValue,

source§

impl<LengthOrAuto> ToComputedValue for GenericClipRect<LengthOrAuto>
where LengthOrAuto: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericAnimationTimeline<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericBackgroundSize<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericLengthPercentageOrAuto<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericLengthPercentageOrNormal<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericMaxSize<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericSize<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericViewFunction<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercent> ToComputedValue for GenericViewTimelineInset<LengthPercent>
where LengthPercent: ToComputedValue,

source§

impl<LengthPercentage> ToComputedValue for GenericVerticalAlign<LengthPercentage>
where LengthPercentage: ToComputedValue,

source§

impl<LengthPercentage> ToComputedValue for CoordinatePair<LengthPercentage>
where LengthPercentage: ToComputedValue,

source§

impl<LengthPercentage> ToComputedValue for GenericPolygon<LengthPercentage>
where LengthPercentage: ToComputedValue,

source§

impl<LengthPercentage> ToComputedValue for PolygonCoord<LengthPercentage>
where LengthPercentage: ToComputedValue,

source§

impl<LengthPercentage> ToComputedValue for GenericBorderRadius<LengthPercentage>
where LengthPercentage: ToComputedValue,

source§

impl<LengthPercentage> ToComputedValue for GenericAnchorSizeFunction<LengthPercentage>
where LengthPercentage: ToComputedValue,

source§

impl<LengthPercentage> ToComputedValue for GenericTextIndent<LengthPercentage>
where LengthPercentage: ToComputedValue,

source§

impl<LengthPercentage, Integer> ToComputedValue for GenericTrackListValue<LengthPercentage, Integer>
where LengthPercentage: ToComputedValue, Integer: ToComputedValue,

source§

impl<LengthPercentage, Integer> ToComputedValue for GenericTrackList<LengthPercentage, Integer>
where LengthPercentage: ToComputedValue, Integer: ToComputedValue,

source§

impl<LengthPercentage, Length> ToComputedValue for GenericTranslate<LengthPercentage, Length>
where LengthPercentage: Zero + ZeroNoPercent + ToComputedValue, Length: Zero + ToComputedValue, <LengthPercentage as ToComputedValue>::ComputedValue: Zero + ZeroNoPercent, <Length as ToComputedValue>::ComputedValue: Zero,

source§

impl<LengthPercentage, NonNegativeLengthPercentage> ToComputedValue for GenericInsetRect<LengthPercentage, NonNegativeLengthPercentage>
where LengthPercentage: ToComputedValue, NonNegativeLengthPercentage: ToComputedValue,

§

type ComputedValue = GenericInsetRect<<LengthPercentage as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>

source§

impl<LineDirection, LengthPercentage, NonNegativeLength, NonNegativeLengthPercentage, Position, Angle, AngleOrPercentage, Color> ToComputedValue for GenericGradient<LineDirection, LengthPercentage, NonNegativeLength, NonNegativeLengthPercentage, Position, Angle, AngleOrPercentage, Color>
where LineDirection: ToComputedValue, LengthPercentage: ToComputedValue, NonNegativeLength: ToComputedValue, NonNegativeLengthPercentage: ToComputedValue, Position: ToComputedValue, Angle: ToComputedValue, AngleOrPercentage: ToComputedValue, Color: ToComputedValue,

§

type ComputedValue = GenericGradient<<LineDirection as ToComputedValue>::ComputedValue, <LengthPercentage as ToComputedValue>::ComputedValue, <NonNegativeLength as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue, <Position as ToComputedValue>::ComputedValue, <Angle as ToComputedValue>::ComputedValue, <AngleOrPercentage as ToComputedValue>::ComputedValue, <Color as ToComputedValue>::ComputedValue>

source§

impl<N> ToComputedValue for PreferredRatio<N>
where N: ToComputedValue,

source§

impl<N> ToComputedValue for GenericAspectRatio<N>
where N: ToComputedValue,

source§

impl<N> ToComputedValue for Ratio<N>
where N: ToComputedValue,

source§

impl<NonNegativeLength> ToComputedValue for GenericPerspective<NonNegativeLength>
where NonNegativeLength: ToComputedValue,

source§

impl<NonNegativeLength> ToComputedValue for GenericCircle<NonNegativeLength>
where NonNegativeLength: ToComputedValue,

source§

impl<NonNegativeLength, NonNegativeLengthPercentage> ToComputedValue for GenericEndingShape<NonNegativeLength, NonNegativeLengthPercentage>
where NonNegativeLength: ToComputedValue, NonNegativeLengthPercentage: ToComputedValue,

§

type ComputedValue = GenericEndingShape<<NonNegativeLength as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>

source§

impl<NonNegativeLengthPercentage> ToComputedValue for GenericShapeRadius<NonNegativeLengthPercentage>
where NonNegativeLengthPercentage: ToComputedValue,

§

type ComputedValue = GenericShapeRadius<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>

source§

impl<NonNegativeLengthPercentage> ToComputedValue for GenericEllipse<NonNegativeLengthPercentage>
where NonNegativeLengthPercentage: ToComputedValue,

§

type ComputedValue = GenericEllipse<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>

source§

impl<Number> ToComputedValue for GenericScale<Number>
where Number: ToComputedValue,

source§

impl<Number> ToComputedValue for VariationValue<Number>
where Number: ToComputedValue,

source§

impl<Number, Angle> ToComputedValue for GenericRotate<Number, Angle>
where Number: ToComputedValue, Angle: ToComputedValue,

source§

impl<Number, Integer> ToComputedValue for GenericInitialLetter<Number, Integer>
where Number: ToComputedValue, Integer: ToComputedValue,

source§

impl<NumberOrPercentage> ToComputedValue for GenericBorderImageSlice<NumberOrPercentage>
where NumberOrPercentage: ToComputedValue,

source§

impl<OpacityType> ToComputedValue for GenericSVGOpacity<OpacityType>
where OpacityType: ToComputedValue,

source§

impl<P> ToComputedValue for AnchorSide<P>
where P: ToComputedValue,

source§

impl<P, LP> ToComputedValue for GenericInset<P, LP>

source§

impl<Percentage, LengthPercentage> ToComputedValue for GenericAnchorFunction<Percentage, LengthPercentage>
where Percentage: ToComputedValue, LengthPercentage: ToComputedValue,

source§

impl<Pos> ToComputedValue for GenericPositionOrAuto<Pos>
where Pos: ToComputedValue,

source§

impl<Position, NonNegativeLengthPercentage> ToComputedValue for Circle<Position, NonNegativeLengthPercentage>
where Position: ToComputedValue, NonNegativeLengthPercentage: ToComputedValue,

§

type ComputedValue = Circle<<Position as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>

source§

impl<Position, NonNegativeLengthPercentage> ToComputedValue for Ellipse<Position, NonNegativeLengthPercentage>
where Position: ToComputedValue, NonNegativeLengthPercentage: ToComputedValue,

§

type ComputedValue = Ellipse<<Position as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>

source§

impl<PositiveInteger> ToComputedValue for GenericColumnCount<PositiveInteger>
where PositiveInteger: ToComputedValue,

source§

impl<R> ToComputedValue for GenericClipRectOrAuto<R>
where R: ToComputedValue,

source§

impl<S> ToComputedValue for GenericFlexBasis<S>
where S: ToComputedValue,

source§

impl<S> ToComputedValue for OriginComponent<S>
where S: Side,

source§

impl<S: Side> ToComputedValue for PositionComponent<S>

source§

impl<Shapes, RayFunction, U> ToComputedValue for GenericOffsetPathFunction<Shapes, RayFunction, U>
where Shapes: ToComputedValue, RayFunction: ToComputedValue, U: ToComputedValue,

source§

impl<T> ToComputedValue for GenericAnimationDuration<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for Optional<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for ArcSlice<T>
where T: ToComputedValue<ComputedValue = T>,

source§

impl<T> ToComputedValue for OwnedSlice<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for FontSettings<T>

source§

impl<T> ToComputedValue for GenericImplicitGridTracks<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for Rect<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for GreaterThanOrEqualToOne<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for NonNegative<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for ZeroToOne<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for GenericMatrix3D<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for GenericMatrix<T>
where T: ToComputedValue,

source§

impl<T> ToComputedValue for GenericTransform<T>
where T: ToComputedValue,

source§

impl<U> ToComputedValue for GenericUrlOrNone<U>
where U: ToComputedValue,