[−][src]Trait style::values::computed::ToComputedValue
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.
Associated Types
type ComputedValue
The computed value type we're going to be converted to.
Required methods
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.
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.
Implementations on Foreign Types
impl<A, B> ToComputedValue for (A, B) where
A: ToComputedValue,
B: ToComputedValue, [src]
A: ToComputedValue,
B: ToComputedValue,
type ComputedValue = (<A as ToComputedValue>::ComputedValue, <B as ToComputedValue>::ComputedValue)
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<T> ToComputedValue for Option<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = Option<<T as ToComputedValue>::ComputedValue>
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<T> ToComputedValue for Size2D<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = Size2D<<T as ToComputedValue>::ComputedValue>
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<T> ToComputedValue for Vec<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = Vec<<T as ToComputedValue>::ComputedValue>
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<T> ToComputedValue for Box<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = Box<<T as ToComputedValue>::ComputedValue>
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<T> ToComputedValue for Box<[T]> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = Box<[<T as ToComputedValue>::ComputedValue]>
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for ()[src]
type ComputedValue = ()
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for bool[src]
type ComputedValue = bool
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for f32[src]
type ComputedValue = f32
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for i32[src]
type ComputedValue = i32
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for u8[src]
type ComputedValue = u8
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for u16[src]
type ComputedValue = u16
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for u32[src]
type ComputedValue = u32
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for usize[src]
type ComputedValue = usize
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for String[src]
type ComputedValue = String
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for Box<str>[src]
type ComputedValue = Box<str>
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for AllowedNumericType[src]
type ComputedValue = AllowedNumericType
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
Implementors
impl ToComputedValue for Symbol where
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>, [src]
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,
type ComputedValue = Symbol
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for FontDisplay[src]
type ComputedValue = FontDisplay
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for LonghandId[src]
type ComputedValue = LonghandId
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ShorthandId[src]
type ComputedValue = ShorthandId
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::_servo_overflow_clip_box::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::_servo_top_layer::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::align_content::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::align_items::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::align_self::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::animation_direction::single_value::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::animation_fill_mode::single_value::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::animation_play_state::single_value::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::backface_visibility::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::background_attachment::single_value::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::background_clip::single_value::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::background_origin::single_value::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::border_collapse::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::box_sizing::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::caption_side::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::direction::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::empty_cells::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::flex_direction::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::flex_wrap::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::font_variant_caps::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, _cx: &Context) -> Self::ComputedValue[src]
fn from_computed_value(other: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::image_rendering::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::justify_content::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::list_style_position::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::list_style_type::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::mix_blend_mode::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::pointer_events::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::position::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::table_layout::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::text_justify::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::text_rendering::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::unicode_bidi::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::visibility::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::white_space::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::writing_mode::computed_value::T[src]
type ComputedValue = T
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for FontFamilyNameSyntax[src]
type ComputedValue = FontFamilyNameSyntax
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for GenericFontFamily[src]
type ComputedValue = GenericFontFamily
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for SingleFontFamily where
FamilyName: ToComputedValue<ComputedValue = FamilyName>,
GenericFontFamily: ToComputedValue<ComputedValue = GenericFontFamily>, [src]
FamilyName: ToComputedValue<ComputedValue = FamilyName>,
GenericFontFamily: ToComputedValue<ComputedValue = GenericFontFamily>,
type ComputedValue = SingleFontFamily
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ExtremumLength[src]
type ComputedValue = ExtremumLength
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Impossible[src]
type ComputedValue = Impossible
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for KeyframesName where
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,
Atom: ToComputedValue<ComputedValue = Atom>, [src]
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,
Atom: ToComputedValue<ComputedValue = Atom>,
type ComputedValue = KeyframesName
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for FillRule[src]
type ComputedValue = FillRule
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ShapeBox[src]
type ComputedValue = ShapeBox
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ShapeGeometryBox where
ShapeBox: ToComputedValue<ComputedValue = ShapeBox>, [src]
ShapeBox: ToComputedValue<ComputedValue = ShapeBox>,
type ComputedValue = ShapeGeometryBox
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for VerticalAlignKeyword[src]
type ComputedValue = VerticalAlignKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for StepPosition[src]
type ComputedValue = StepPosition
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TimingKeyword[src]
type ComputedValue = TimingKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for CounterStyle where
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,
SymbolsType: ToComputedValue<ComputedValue = SymbolsType>,
Symbols: ToComputedValue<ComputedValue = Symbols>, [src]
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,
SymbolsType: ToComputedValue<ComputedValue = SymbolsType>,
Symbols: ToComputedValue<ComputedValue = Symbols>,
type ComputedValue = CounterStyle
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for SymbolsType[src]
type ComputedValue = SymbolsType
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for GradientCompatMode[src]
type ComputedValue = GradientCompatMode
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ShapeExtent[src]
type ComputedValue = ShapeExtent
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for RaySize[src]
type ComputedValue = RaySize
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TransformStyle[src]
type ComputedValue = TransformStyle
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for BackgroundRepeatKeyword[src]
type ComputedValue = BackgroundRepeatKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for BorderImageRepeatKeyword[src]
type ComputedValue = BorderImageRepeatKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for BorderSideWidth[src]
type ComputedValue = NonNegativeLength
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for BorderStyle[src]
type ComputedValue = BorderStyle
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Appearance[src]
type ComputedValue = Appearance
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for BreakBetween[src]
type ComputedValue = BreakBetween
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for BreakWithin[src]
type ComputedValue = BreakWithin
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for SpecifiedClear[src]
type ComputedValue = Clear
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> SpecifiedClear[src]
impl ToComputedValue for SpecifiedFloat[src]
type ComputedValue = Float
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> SpecifiedFloat[src]
impl ToComputedValue for Overflow[src]
type ComputedValue = Overflow
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for OverflowAnchor[src]
type ComputedValue = OverflowAnchor
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for OverflowClipBox[src]
type ComputedValue = OverflowClipBox
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for OverscrollBehavior[src]
type ComputedValue = OverscrollBehavior
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Resize[src]
type ComputedValue = Resize
fn to_computed_value(&self, context: &Context) -> Resize[src]
fn from_computed_value(computed: &Resize) -> Resize[src]
impl ToComputedValue for ScrollSnapAlignKeyword[src]
type ComputedValue = ScrollSnapAlignKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ScrollSnapAxis[src]
type ComputedValue = ScrollSnapAxis
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ScrollSnapStrictness[src]
type ComputedValue = ScrollSnapStrictness
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TransitionProperty where
ShorthandId: ToComputedValue<ComputedValue = ShorthandId>,
LonghandId: ToComputedValue<ComputedValue = LonghandId>,
CustomPropertyName: ToComputedValue<ComputedValue = CustomPropertyName>,
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>, [src]
ShorthandId: ToComputedValue<ComputedValue = ShorthandId>,
LonghandId: ToComputedValue<ComputedValue = LonghandId>,
CustomPropertyName: ToComputedValue<ComputedValue = CustomPropertyName>,
CustomIdent: ToComputedValue<ComputedValue = CustomIdent>,
type ComputedValue = TransitionProperty
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Color[src]
type ComputedValue = ComputedColor
fn to_computed_value(&self, context: &Context) -> ComputedColor[src]
fn from_computed_value(computed: &ComputedColor) -> Self[src]
impl ToComputedValue for AngleOrPercentage[src]
type ComputedValue = AngleOrPercentage
fn to_computed_value(&self, context: &Context) -> AngleOrPercentage[src]
fn from_computed_value(computed: &AngleOrPercentage) -> Self[src]
impl ToComputedValue for NumberOrPercentage[src]
type ComputedValue = NumberOrPercentage
fn to_computed_value(&self, context: &Context) -> NumberOrPercentage[src]
fn from_computed_value(computed: &NumberOrPercentage) -> Self[src]
impl ToComputedValue for style::values::specified::font::FontFamily[src]
type ComputedValue = FontFamily
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(other: &FontFamily) -> Self[src]
impl ToComputedValue for FontFeatureSettings[src]
type ComputedValue = FontFeatureSettings
fn to_computed_value(&self, context: &Context) -> FontFeatureSettings[src]
fn from_computed_value(other: &FontFeatureSettings) -> Self[src]
impl ToComputedValue for FontLanguageOverride[src]
type ComputedValue = FontLanguageOverride
fn to_computed_value(&self, context: &Context) -> FontLanguageOverride[src]
fn from_computed_value(computed: &FontLanguageOverride) -> Self[src]
impl ToComputedValue for FontSize[src]
type ComputedValue = FontSize
fn to_computed_value(&self, context: &Context) -> FontSize[src]
fn from_computed_value(computed: &FontSize) -> Self[src]
impl ToComputedValue for FontSizeAdjust[src]
type ComputedValue = FontSizeAdjust
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &FontSizeAdjust) -> Self[src]
impl ToComputedValue for FontSizeKeyword[src]
type ComputedValue = FontSizeKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for FontStretch[src]
type ComputedValue = FontStretch
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for FontStyle[src]
type ComputedValue = FontStyle
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for FontVariantAlternates[src]
type ComputedValue = FontVariantAlternates
fn to_computed_value(&self, context: &Context) -> FontVariantAlternates[src]
fn from_computed_value(other: &FontVariantAlternates) -> Self[src]
impl ToComputedValue for FontVariantEastAsian[src]
type ComputedValue = FontVariantEastAsian
fn to_computed_value(&self, context: &Context) -> FontVariantEastAsian[src]
fn from_computed_value(other: &FontVariantEastAsian) -> Self[src]
impl ToComputedValue for FontVariantLigatures[src]
type ComputedValue = FontVariantLigatures
fn to_computed_value(&self, context: &Context) -> FontVariantLigatures[src]
fn from_computed_value(other: &FontVariantLigatures) -> Self[src]
impl ToComputedValue for FontVariantNumeric[src]
type ComputedValue = FontVariantNumeric
fn to_computed_value(&self, context: &Context) -> FontVariantNumeric[src]
fn from_computed_value(other: &FontVariantNumeric) -> Self[src]
impl ToComputedValue for FontVariationSettings[src]
type ComputedValue = FontVariationSettings
fn to_computed_value(&self, context: &Context) -> FontVariationSettings[src]
fn from_computed_value(other: &FontVariationSettings) -> Self[src]
impl ToComputedValue for FontWeight[src]
type ComputedValue = FontWeight
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &FontWeight) -> Self[src]
impl ToComputedValue for SpecifiedLineDirection[src]
type ComputedValue = LineDirection
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for MozImageRect[src]
type ComputedValue = MozImageRect
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for AbsoluteLength[src]
type ComputedValue = CSSPixelLength
fn to_computed_value(&self, _: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for Length[src]
type ComputedValue = Length
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for LengthPercentage[src]
type ComputedValue = LengthPercentage
fn to_computed_value(&self, context: &Context) -> LengthPercentage[src]
fn from_computed_value(computed: &LengthPercentage) -> Self[src]
impl ToComputedValue for NoCalcLength[src]
type ComputedValue = Length
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for MozListReversed[src]
type ComputedValue = MozListReversed
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Quotes where
QuoteList: ToComputedValue<ComputedValue = QuoteList>, [src]
QuoteList: ToComputedValue<ComputedValue = QuoteList>,
type ComputedValue = Quotes
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for OutlineStyle where
BorderStyle: ToComputedValue<ComputedValue = BorderStyle>, [src]
BorderStyle: ToComputedValue<ComputedValue = BorderStyle>,
type ComputedValue = OutlineStyle
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for GridTemplateAreas where
TemplateAreasArc: ToComputedValue<ComputedValue = TemplateAreasArc>, [src]
TemplateAreasArc: ToComputedValue<ComputedValue = TemplateAreasArc>,
type ComputedValue = GridTemplateAreas
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for HorizontalPositionKeyword[src]
type ComputedValue = HorizontalPositionKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for MasonryItemOrder[src]
type ComputedValue = MasonryItemOrder
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for MasonryPlacement[src]
type ComputedValue = MasonryPlacement
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for VerticalPositionKeyword[src]
type ComputedValue = VerticalPositionKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Resolution[src]
type ComputedValue = Resolution
fn to_computed_value(&self, _: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for IsAbsolute[src]
type ComputedValue = IsAbsolute
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for PathCommand where
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
ArcFlag: ToComputedValue<ComputedValue = ArcFlag>,
ArcFlag: ToComputedValue<ComputedValue = ArcFlag>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>, [src]
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
ArcFlag: ToComputedValue<ComputedValue = ArcFlag>,
ArcFlag: ToComputedValue<ComputedValue = ArcFlag>,
CoordPair: ToComputedValue<ComputedValue = CoordPair>,
IsAbsolute: ToComputedValue<ComputedValue = IsAbsolute>,
type ComputedValue = PathCommand
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for LineBreak[src]
type ComputedValue = LineBreak
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for OverflowWrap[src]
type ComputedValue = OverflowWrap
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextAlign[src]
type ComputedValue = TextAlignKeyword
fn to_computed_value(&self, _context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for TextAlignKeyword[src]
type ComputedValue = TextAlignKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextAlignLast[src]
type ComputedValue = TextAlignLast
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextDecorationSkipInk[src]
type ComputedValue = TextDecorationSkipInk
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextEmphasisFillMode[src]
type ComputedValue = TextEmphasisFillMode
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextEmphasisHorizontalWritingModeValue[src]
type ComputedValue = TextEmphasisHorizontalWritingModeValue
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextEmphasisShapeKeyword[src]
type ComputedValue = TextEmphasisShapeKeyword
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextEmphasisStyle[src]
type ComputedValue = ComputedTextEmphasisStyle
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for TextEmphasisVerticalWritingModeValue[src]
type ComputedValue = TextEmphasisVerticalWritingModeValue
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextOverflowSide where
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>, [src]
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,
type ComputedValue = TextOverflowSide
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextTransformCase[src]
type ComputedValue = TextTransformCase
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for WordBreak[src]
type ComputedValue = WordBreak
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for CursorKind[src]
type ComputedValue = CursorKind
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for UserSelect[src]
type ComputedValue = UserSelect
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Symbols where
OwnedSlice<Symbol>: ToComputedValue<ComputedValue = OwnedSlice<Symbol>>, [src]
OwnedSlice<Symbol>: ToComputedValue<ComputedValue = OwnedSlice<Symbol>>,
type ComputedValue = Symbols
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::properties::longhands::animation_delay::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::animation_direction::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::animation_duration::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::animation_fill_mode::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::animation_iteration_count::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::animation_name::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::animation_play_state::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::animation_timing_function::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_attachment::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_clip::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_image::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_origin::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_position_x::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_position_y::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_repeat::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::background_size::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::box_shadow::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::filter::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::text_shadow::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::transition_delay::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::transition_duration::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::transition_property::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for style::properties::longhands::transition_timing_function::SpecifiedValue[src]
type ComputedValue = T
fn to_computed_value(&self, context: &Context) -> T[src]
fn from_computed_value(computed: &T) -> Self[src]
impl ToComputedValue for OwnedStr[src]
type ComputedValue = OwnedStr
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for FamilyName where
Atom: ToComputedValue<ComputedValue = Atom>,
FontFamilyNameSyntax: ToComputedValue<ComputedValue = FontFamilyNameSyntax>, [src]
Atom: ToComputedValue<ComputedValue = Atom>,
FontFamilyNameSyntax: ToComputedValue<ComputedValue = FontFamilyNameSyntax>,
type ComputedValue = FamilyName
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::values::computed::font::FontFamily where
FontFamilyList: ToComputedValue<ComputedValue = FontFamilyList>,
bool: ToComputedValue<ComputedValue = bool>, [src]
FontFamilyList: ToComputedValue<ComputedValue = FontFamilyList>,
bool: ToComputedValue<ComputedValue = bool>,
type ComputedValue = FontFamily
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for FontFamilyList where
Box<[SingleFontFamily]>: ToComputedValue<ComputedValue = Box<[SingleFontFamily]>>, [src]
Box<[SingleFontFamily]>: ToComputedValue<ComputedValue = Box<[SingleFontFamily]>>,
type ComputedValue = FontFamilyList
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for CSSPixelLength where
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>, [src]
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
type ComputedValue = CSSPixelLength
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for style::values::computed::percentage::Percentage where
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>, [src]
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
type ComputedValue = Percentage
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Path where
FillRule: ToComputedValue<ComputedValue = FillRule>,
SVGPathData: ToComputedValue<ComputedValue = SVGPathData>, [src]
FillRule: ToComputedValue<ComputedValue = FillRule>,
SVGPathData: ToComputedValue<ComputedValue = SVGPathData>,
type ComputedValue = Path
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for FontTag where
u32: ToComputedValue<ComputedValue = u32>, [src]
u32: ToComputedValue<ComputedValue = u32>,
type ComputedValue = FontTag
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for LineNameList where
OwnedSlice<OwnedSlice<CustomIdent>>: ToComputedValue<ComputedValue = OwnedSlice<OwnedSlice<CustomIdent>>>,
usize: ToComputedValue<ComputedValue = usize>,
usize: ToComputedValue<ComputedValue = usize>, [src]
OwnedSlice<OwnedSlice<CustomIdent>>: ToComputedValue<ComputedValue = OwnedSlice<OwnedSlice<CustomIdent>>>,
usize: ToComputedValue<ComputedValue = usize>,
usize: ToComputedValue<ComputedValue = usize>,
type ComputedValue = LineNameList
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for PaintWorklet where
Atom: ToComputedValue<ComputedValue = Atom>, [src]
Atom: ToComputedValue<ComputedValue = Atom>,
type ComputedValue = PaintWorklet
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Angle[src]
type ComputedValue = ComputedAngle
fn to_computed_value(&self, _context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for BackgroundRepeat where
BackgroundRepeatKeyword: ToComputedValue<ComputedValue = BackgroundRepeatKeyword>,
BackgroundRepeatKeyword: ToComputedValue<ComputedValue = BackgroundRepeatKeyword>, [src]
BackgroundRepeatKeyword: ToComputedValue<ComputedValue = BackgroundRepeatKeyword>,
BackgroundRepeatKeyword: ToComputedValue<ComputedValue = BackgroundRepeatKeyword>,
type ComputedValue = BackgroundRepeat
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for BorderImageRepeat where
BorderImageRepeatKeyword: ToComputedValue<ComputedValue = BorderImageRepeatKeyword>,
BorderImageRepeatKeyword: ToComputedValue<ComputedValue = BorderImageRepeatKeyword>, [src]
BorderImageRepeatKeyword: ToComputedValue<ComputedValue = BorderImageRepeatKeyword>,
BorderImageRepeatKeyword: ToComputedValue<ComputedValue = BorderImageRepeatKeyword>,
type ComputedValue = BorderImageRepeat
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for AnimationName where
Option<KeyframesName>: ToComputedValue<ComputedValue = Option<KeyframesName>>, [src]
Option<KeyframesName>: ToComputedValue<ComputedValue = Option<KeyframesName>>,
type ComputedValue = AnimationName
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Contain where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = Contain
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Display where
u16: ToComputedValue<ComputedValue = u16>, [src]
u16: ToComputedValue<ComputedValue = u16>,
type ComputedValue = Display
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ScrollSnapAlign where
ScrollSnapAlignKeyword: ToComputedValue<ComputedValue = ScrollSnapAlignKeyword>,
ScrollSnapAlignKeyword: ToComputedValue<ComputedValue = ScrollSnapAlignKeyword>, [src]
ScrollSnapAlignKeyword: ToComputedValue<ComputedValue = ScrollSnapAlignKeyword>,
ScrollSnapAlignKeyword: ToComputedValue<ComputedValue = ScrollSnapAlignKeyword>,
type ComputedValue = ScrollSnapAlign
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ScrollSnapType where
ScrollSnapAxis: ToComputedValue<ComputedValue = ScrollSnapAxis>,
ScrollSnapStrictness: ToComputedValue<ComputedValue = ScrollSnapStrictness>, [src]
ScrollSnapAxis: ToComputedValue<ComputedValue = ScrollSnapAxis>,
ScrollSnapStrictness: ToComputedValue<ComputedValue = ScrollSnapStrictness>,
type ComputedValue = ScrollSnapType
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TouchAction where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = TouchAction
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for WillChange where
OwnedSlice<CustomIdent>: ToComputedValue<ComputedValue = OwnedSlice<CustomIdent>>,
WillChangeBits: ToComputedValue<ComputedValue = WillChangeBits>, [src]
OwnedSlice<CustomIdent>: ToComputedValue<ComputedValue = OwnedSlice<CustomIdent>>,
WillChangeBits: ToComputedValue<ComputedValue = WillChangeBits>,
type ComputedValue = WillChange
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for WillChangeBits where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = WillChangeBits
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ColorPropertyValue[src]
type ComputedValue = RGBA
fn to_computed_value(&self, context: &Context) -> RGBA[src]
fn from_computed_value(computed: &RGBA) -> Self[src]
impl ToComputedValue for MozFontSmoothingBackgroundColor[src]
type ComputedValue = RGBA
fn to_computed_value(&self, context: &Context) -> RGBA[src]
fn from_computed_value(computed: &RGBA) -> Self[src]
impl ToComputedValue for NonNegativeFactor[src]
type ComputedValue = ComputedNonNegativeNumber
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for ZeroToOneFactor[src]
type ComputedValue = ComputedZeroToOneNumber
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for FontSynthesis where
bool: ToComputedValue<ComputedValue = bool>,
bool: ToComputedValue<ComputedValue = bool>, [src]
bool: ToComputedValue<ComputedValue = bool>,
bool: ToComputedValue<ComputedValue = bool>,
type ComputedValue = FontSynthesis
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for KeywordInfo where
FontSizeKeyword: ToComputedValue<ComputedValue = FontSizeKeyword>,
f32: ToComputedValue<ComputedValue = f32>,
CSSPixelLength: ToComputedValue<ComputedValue = CSSPixelLength>, [src]
FontSizeKeyword: ToComputedValue<ComputedValue = FontSizeKeyword>,
f32: ToComputedValue<ComputedValue = f32>,
CSSPixelLength: ToComputedValue<ComputedValue = CSSPixelLength>,
type ComputedValue = KeywordInfo
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for MozScriptMinSize[src]
type ComputedValue = MozScriptMinSize
fn to_computed_value(&self, cx: &Context) -> MozScriptMinSize[src]
fn from_computed_value(other: &MozScriptMinSize) -> Self[src]
impl ToComputedValue for MozScriptSizeMultiplier where
f32: ToComputedValue<ComputedValue = f32>, [src]
f32: ToComputedValue<ComputedValue = f32>,
type ComputedValue = MozScriptSizeMultiplier
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for XLang where
Atom: ToComputedValue<ComputedValue = Atom>, [src]
Atom: ToComputedValue<ComputedValue = Atom>,
type ComputedValue = XLang
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for XTextZoom where
bool: ToComputedValue<ComputedValue = bool>, [src]
bool: ToComputedValue<ComputedValue = bool>,
type ComputedValue = XTextZoom
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for QuoteList where
ArcSlice<QuotePair>: ToComputedValue<ComputedValue = ArcSlice<QuotePair>>, [src]
ArcSlice<QuotePair>: ToComputedValue<ComputedValue = ArcSlice<QuotePair>>,
type ComputedValue = QuoteList
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for QuotePair where
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>, [src]
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,
OwnedStr: ToComputedValue<ComputedValue = OwnedStr>,
type ComputedValue = QuotePair
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for OffsetRotate[src]
type ComputedValue = ComputedOffsetRotate
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for style::values::specified::percentage::Percentage[src]
type ComputedValue = ComputedPercentage
fn to_computed_value(&self, _: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for GridAutoFlow where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = GridAutoFlow
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for MasonryAutoFlow where
MasonryPlacement: ToComputedValue<ComputedValue = MasonryPlacement>,
MasonryItemOrder: ToComputedValue<ComputedValue = MasonryItemOrder>, [src]
MasonryPlacement: ToComputedValue<ComputedValue = MasonryPlacement>,
MasonryItemOrder: ToComputedValue<ComputedValue = MasonryItemOrder>,
type ComputedValue = MasonryAutoFlow
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for NamedArea where
Atom: ToComputedValue<ComputedValue = Atom>,
UnsignedRange: ToComputedValue<ComputedValue = UnsignedRange>,
UnsignedRange: ToComputedValue<ComputedValue = UnsignedRange>, [src]
Atom: ToComputedValue<ComputedValue = Atom>,
UnsignedRange: ToComputedValue<ComputedValue = UnsignedRange>,
UnsignedRange: ToComputedValue<ComputedValue = UnsignedRange>,
type ComputedValue = NamedArea
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TemplateAreas where
OwnedSlice<NamedArea>: ToComputedValue<ComputedValue = OwnedSlice<NamedArea>>,
OwnedSlice<OwnedStr>: ToComputedValue<ComputedValue = OwnedSlice<OwnedStr>>,
u32: ToComputedValue<ComputedValue = u32>, [src]
OwnedSlice<NamedArea>: ToComputedValue<ComputedValue = OwnedSlice<NamedArea>>,
OwnedSlice<OwnedStr>: ToComputedValue<ComputedValue = OwnedSlice<OwnedStr>>,
u32: ToComputedValue<ComputedValue = u32>,
type ComputedValue = TemplateAreas
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TemplateAreasArc where
Arc<TemplateAreas>: ToComputedValue<ComputedValue = Arc<TemplateAreas>>, [src]
Arc<TemplateAreas>: ToComputedValue<ComputedValue = Arc<TemplateAreas>>,
type ComputedValue = TemplateAreasArc
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for UnsignedRange where
u32: ToComputedValue<ComputedValue = u32>,
u32: ToComputedValue<ComputedValue = u32>, [src]
u32: ToComputedValue<ComputedValue = u32>,
u32: ToComputedValue<ComputedValue = u32>,
type ComputedValue = UnsignedRange
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Attr where
Prefix: ToComputedValue<ComputedValue = Prefix>,
Namespace: ToComputedValue<ComputedValue = Namespace>,
Atom: ToComputedValue<ComputedValue = Atom>, [src]
Prefix: ToComputedValue<ComputedValue = Prefix>,
Namespace: ToComputedValue<ComputedValue = Namespace>,
Atom: ToComputedValue<ComputedValue = Atom>,
type ComputedValue = Attr
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Integer[src]
type ComputedValue = i32
fn to_computed_value(&self, _: &Context) -> i32[src]
fn from_computed_value(computed: &i32) -> Self[src]
impl ToComputedValue for Number[src]
type ComputedValue = CSSFloat
fn to_computed_value(&self, _: &Context) -> CSSFloat[src]
fn from_computed_value(computed: &CSSFloat) -> Self[src]
impl ToComputedValue for Opacity[src]
type ComputedValue = CSSFloat
fn to_computed_value(&self, context: &Context) -> CSSFloat[src]
fn from_computed_value(computed: &CSSFloat) -> Self[src]
impl ToComputedValue for ContextPropertyBits where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = ContextPropertyBits
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for MozContextProperties where
ArcSlice<CustomIdent>: ToComputedValue<ComputedValue = ArcSlice<CustomIdent>>,
ContextPropertyBits: ToComputedValue<ComputedValue = ContextPropertyBits>, [src]
ArcSlice<CustomIdent>: ToComputedValue<ComputedValue = ArcSlice<CustomIdent>>,
ContextPropertyBits: ToComputedValue<ComputedValue = ContextPropertyBits>,
type ComputedValue = MozContextProperties
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for SVGPaintOrder where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = SVGPaintOrder
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for ArcFlag where
bool: ToComputedValue<ComputedValue = bool>, [src]
bool: ToComputedValue<ComputedValue = bool>,
type ComputedValue = ArcFlag
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for CoordPair where
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>, [src]
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
CSSFloat: ToComputedValue<ComputedValue = CSSFloat>,
type ComputedValue = CoordPair
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for SVGPathData where
ArcSlice<PathCommand>: ToComputedValue<ComputedValue = ArcSlice<PathCommand>>, [src]
ArcSlice<PathCommand>: ToComputedValue<ComputedValue = ArcSlice<PathCommand>>,
type ComputedValue = SVGPathData
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextDecorationLine where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = TextDecorationLine
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextEmphasisPosition where
TextEmphasisHorizontalWritingModeValue: ToComputedValue<ComputedValue = TextEmphasisHorizontalWritingModeValue>,
TextEmphasisVerticalWritingModeValue: ToComputedValue<ComputedValue = TextEmphasisVerticalWritingModeValue>, [src]
TextEmphasisHorizontalWritingModeValue: ToComputedValue<ComputedValue = TextEmphasisHorizontalWritingModeValue>,
TextEmphasisVerticalWritingModeValue: ToComputedValue<ComputedValue = TextEmphasisVerticalWritingModeValue>,
type ComputedValue = TextEmphasisPosition
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextOverflow[src]
type ComputedValue = ComputedTextOverflow
fn to_computed_value(&self, _context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for TextTransform where
TextTransformCase: ToComputedValue<ComputedValue = TextTransformCase>,
TextTransformOther: ToComputedValue<ComputedValue = TextTransformOther>, [src]
TextTransformCase: ToComputedValue<ComputedValue = TextTransformCase>,
TextTransformOther: ToComputedValue<ComputedValue = TextTransformOther>,
type ComputedValue = TextTransform
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextTransformOther where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = TextTransformOther
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for TextUnderlinePosition where
u8: ToComputedValue<ComputedValue = u8>, [src]
u8: ToComputedValue<ComputedValue = u8>,
type ComputedValue = TextUnderlinePosition
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Time[src]
type ComputedValue = ComputedTime
fn to_computed_value(&self, _context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for MozForceBrokenImageIcon where
bool: ToComputedValue<ComputedValue = bool>, [src]
bool: ToComputedValue<ComputedValue = bool>,
type ComputedValue = MozForceBrokenImageIcon
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for Auto[src]
type ComputedValue = Auto
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for CustomIdent where
Atom: ToComputedValue<ComputedValue = Atom>, [src]
Atom: ToComputedValue<ComputedValue = Atom>,
type ComputedValue = CustomIdent
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for None_[src]
type ComputedValue = None_
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl ToComputedValue for SpecifiedUrl[src]
type ComputedValue = ComputedUrl
fn to_computed_value(&self, _: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &ComputedUrl) -> Self[src]
impl ToComputedValue for Atom[src]
type ComputedValue = Atom
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for Namespace[src]
type ComputedValue = Namespace
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for Prefix[src]
type ComputedValue = Prefix
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(other: &Self) -> Self[src]
impl ToComputedValue for BoxShadow[src]
type ComputedValue = ComputedBoxShadow
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &ComputedBoxShadow) -> Self[src]
impl ToComputedValue for SimpleShadow[src]
type ComputedValue = ComputedSimpleShadow
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for SpecifiedFontStyle[src]
type ComputedValue = FontStyle
fn to_computed_value(&self, _: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for LetterSpacing[src]
type ComputedValue = LetterSpacing
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for LineHeight[src]
type ComputedValue = ComputedLineHeight
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl ToComputedValue for WordSpacing[src]
type ComputedValue = WordSpacing
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<A, B> ToComputedValue for Either<A, B> where
A: ToComputedValue,
B: ToComputedValue, [src]
A: ToComputedValue,
B: ToComputedValue,
type ComputedValue = Either<<A as ToComputedValue>::ComputedValue, <B as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Angle> ToComputedValue for GenericOffsetPath<Angle> where
Angle: ToComputedValue, [src]
Angle: ToComputedValue,
type ComputedValue = GenericOffsetPath<<Angle as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Angle> ToComputedValue for RayFunction<Angle> where
Angle: ToComputedValue, [src]
Angle: ToComputedValue,
type ComputedValue = RayFunction<<Angle as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
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, [src]
Angle: ToComputedValue,
NonNegativeFactor: ToComputedValue,
ZeroToOneFactor: ToComputedValue,
Length: ToComputedValue,
Shadow: ToComputedValue,
U: ToComputedValue,
type ComputedValue = GenericFilter<<Angle as ToComputedValue>::ComputedValue, <NonNegativeFactor as ToComputedValue>::ComputedValue, <ZeroToOneFactor as ToComputedValue>::ComputedValue, <Length as ToComputedValue>::ComputedValue, <Shadow as ToComputedValue>::ComputedValue, <U as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Angle, Number, Length, Integer, LengthPercentage> ToComputedValue for GenericTransformOperation<Angle, Number, Length, Integer, LengthPercentage> where
Angle: Zero,
LengthPercentage: Zero,
Number: PartialEq,
<Angle as ToComputedValue>::ComputedValue: Zero,
<LengthPercentage as ToComputedValue>::ComputedValue: Zero,
<Number as ToComputedValue>::ComputedValue: PartialEq,
Angle: ToComputedValue,
Number: ToComputedValue,
Length: ToComputedValue,
Integer: ToComputedValue,
LengthPercentage: ToComputedValue, [src]
Angle: Zero,
LengthPercentage: Zero,
Number: PartialEq,
<Angle as ToComputedValue>::ComputedValue: Zero,
<LengthPercentage as ToComputedValue>::ComputedValue: Zero,
<Number as ToComputedValue>::ComputedValue: PartialEq,
Angle: ToComputedValue,
Number: ToComputedValue,
Length: ToComputedValue,
Integer: ToComputedValue,
LengthPercentage: ToComputedValue,
type ComputedValue = GenericTransformOperation<<Angle as ToComputedValue>::ComputedValue, <Number as ToComputedValue>::ComputedValue, <Length as ToComputedValue>::ComputedValue, <Integer as ToComputedValue>::ComputedValue, <LengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<BasicShape, I> ToComputedValue for GenericShapeOutside<BasicShape, I> where
BasicShape: ToComputedValue,
I: ToComputedValue, [src]
BasicShape: ToComputedValue,
I: ToComputedValue,
type ComputedValue = GenericShapeOutside<<BasicShape as ToComputedValue>::ComputedValue, <I as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<BasicShape, U> ToComputedValue for GenericClipPath<BasicShape, U> where
BasicShape: ToComputedValue,
U: ToComputedValue, [src]
BasicShape: ToComputedValue,
U: ToComputedValue,
type ComputedValue = GenericClipPath<<BasicShape as ToComputedValue>::ComputedValue, <U as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<C> ToComputedValue for GenericColorOrAuto<C> where
C: ToComputedValue, [src]
C: ToComputedValue,
type ComputedValue = GenericColorOrAuto<<C as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<C> ToComputedValue for GenericSVGPaintFallback<C> where
C: ToComputedValue, [src]
C: ToComputedValue,
type ComputedValue = GenericSVGPaintFallback<<C as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<C, U> ToComputedValue for GenericSVGPaintKind<C, U> where
C: ToComputedValue,
U: ToComputedValue, [src]
C: ToComputedValue,
U: ToComputedValue,
type ComputedValue = GenericSVGPaintKind<<C as ToComputedValue>::ComputedValue, <U as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Color> ToComputedValue for GenericScrollbarColor<Color> where
Color: ToComputedValue, [src]
Color: ToComputedValue,
type ComputedValue = GenericScrollbarColor<<Color as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Color, T> ToComputedValue for GenericGradientItem<Color, T> where
Color: ToComputedValue,
T: ToComputedValue, [src]
Color: ToComputedValue,
T: ToComputedValue,
type ComputedValue = GenericGradientItem<<Color as ToComputedValue>::ComputedValue, <T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Color, T> ToComputedValue for ColorStop<Color, T> where
Color: ToComputedValue,
T: ToComputedValue, [src]
Color: ToComputedValue,
T: ToComputedValue,
type ComputedValue = ColorStop<<Color as ToComputedValue>::ComputedValue, <T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Color, Url> ToComputedValue for GenericSVGPaint<Color, Url> where
Color: ToComputedValue,
Url: ToComputedValue, [src]
Color: ToComputedValue,
Url: ToComputedValue,
type ComputedValue = GenericSVGPaint<<Color as ToComputedValue>::ComputedValue, <Url as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<G, MozImageRect, ImageUrl> ToComputedValue for GenericImage<G, MozImageRect, ImageUrl> where
G: ToComputedValue,
MozImageRect: ToComputedValue,
ImageUrl: ToComputedValue, [src]
G: ToComputedValue,
MozImageRect: ToComputedValue,
ImageUrl: ToComputedValue,
type ComputedValue = GenericImage<<G as ToComputedValue>::ComputedValue, <MozImageRect as ToComputedValue>::ComputedValue, <ImageUrl as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<H, V> ToComputedValue for GenericPosition<H, V> where
H: ToComputedValue,
V: ToComputedValue, [src]
H: ToComputedValue,
V: ToComputedValue,
type ComputedValue = GenericPosition<<H as ToComputedValue>::ComputedValue, <V as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<H, V, Depth> ToComputedValue for GenericTransformOrigin<H, V, Depth> where
H: ToComputedValue,
V: ToComputedValue,
Depth: ToComputedValue, [src]
H: ToComputedValue,
V: ToComputedValue,
Depth: ToComputedValue,
type ComputedValue = GenericTransformOrigin<<H as ToComputedValue>::ComputedValue, <V as ToComputedValue>::ComputedValue, <Depth as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<H, V, LengthPercentage, NonNegativeLengthPercentage> ToComputedValue for GenericBasicShape<H, V, LengthPercentage, NonNegativeLengthPercentage> where
H: ToComputedValue,
V: ToComputedValue,
LengthPercentage: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue, [src]
H: ToComputedValue,
V: ToComputedValue,
LengthPercentage: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue,
type ComputedValue = GenericBasicShape<<H as ToComputedValue>::ComputedValue, <V as ToComputedValue>::ComputedValue, <LengthPercentage as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<H, V, NonNegativeLengthPercentage> ToComputedValue for Circle<H, V, NonNegativeLengthPercentage> where
H: ToComputedValue,
V: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue, [src]
H: ToComputedValue,
V: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue,
type ComputedValue = Circle<<H as ToComputedValue>::ComputedValue, <V as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<H, V, NonNegativeLengthPercentage> ToComputedValue for Ellipse<H, V, NonNegativeLengthPercentage> where
H: ToComputedValue,
V: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue, [src]
H: ToComputedValue,
V: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue,
type ComputedValue = Ellipse<<H as ToComputedValue>::ComputedValue, <V as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<I> ToComputedValue for GenericZIndex<I> where
I: ToComputedValue, [src]
I: ToComputedValue,
type ComputedValue = GenericZIndex<<I as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<I> ToComputedValue for GenericCounterIncrement<I> where
I: ToComputedValue, [src]
I: ToComputedValue,
type ComputedValue = GenericCounterIncrement<<I as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<I> ToComputedValue for GenericCounterSetOrReset<I> where
I: ToComputedValue, [src]
I: ToComputedValue,
type ComputedValue = GenericCounterSetOrReset<<I as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<I> ToComputedValue for GenericCounters<I> where
I: ToComputedValue, [src]
I: ToComputedValue,
type ComputedValue = GenericCounters<<I as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Image> ToComputedValue for GenericCursor<Image> where
Image: ToComputedValue, [src]
Image: ToComputedValue,
type ComputedValue = GenericCursor<<Image as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<ImageUrl> ToComputedValue for GenericContent<ImageUrl> where
ImageUrl: ToComputedValue, [src]
ImageUrl: ToComputedValue,
type ComputedValue = GenericContent<<ImageUrl as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<ImageUrl> ToComputedValue for GenericContentItem<ImageUrl> where
ImageUrl: ToComputedValue, [src]
ImageUrl: ToComputedValue,
type ComputedValue = GenericContentItem<<ImageUrl as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<ImageUrl, Number> ToComputedValue for GenericCursorImage<ImageUrl, Number> where
ImageUrl: ToComputedValue,
Number: ToComputedValue, [src]
ImageUrl: ToComputedValue,
Number: ToComputedValue,
type ComputedValue = GenericCursorImage<<ImageUrl as ToComputedValue>::ComputedValue, <Number as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Integer> ToComputedValue for RepeatCount<Integer> where
Integer: ToComputedValue, [src]
Integer: ToComputedValue,
type ComputedValue = RepeatCount<<Integer as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Integer> ToComputedValue for GenericCounterPair<Integer> where
Integer: ToComputedValue, [src]
Integer: ToComputedValue,
type ComputedValue = GenericCounterPair<<Integer as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Integer> ToComputedValue for FeatureTagValue<Integer> where
Integer: ToComputedValue, [src]
Integer: ToComputedValue,
type ComputedValue = FeatureTagValue<<Integer as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Integer> ToComputedValue for GenericGridLine<Integer> where
Integer: ToComputedValue, [src]
Integer: ToComputedValue,
type ComputedValue = GenericGridLine<<Integer as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Integer, Number> ToComputedValue for TimingFunction<Integer, Number> where
Integer: ToComputedValue,
Number: ToComputedValue, [src]
Integer: ToComputedValue,
Number: ToComputedValue,
type ComputedValue = TimingFunction<<Integer as ToComputedValue>::ComputedValue, <Number as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for GenericTrackBreadth<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = GenericTrackBreadth<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for GenericTrackSize<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = GenericTrackSize<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for GenericSVGLength<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = GenericSVGLength<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for GenericSVGStrokeDashArray<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = GenericSVGStrokeDashArray<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for GenericTextDecorationLength<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = GenericTextDecorationLength<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for BorderSpacing<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = BorderSpacing<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for GenericBorderCornerRadius<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = GenericBorderCornerRadius<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L> ToComputedValue for style::values::generics::size::Size2D<L> where
L: ToComputedValue, [src]
L: ToComputedValue,
type ComputedValue = Size2D<<L as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L, I> ToComputedValue for GenericGridTemplateComponent<L, I> where
L: ToComputedValue,
I: ToComputedValue,
Box<GenericTrackList<L, I>>: ToComputedValue<ComputedValue = Box<GenericTrackList<<L as ToComputedValue>::ComputedValue, <I as ToComputedValue>::ComputedValue>>>, [src]
L: ToComputedValue,
I: ToComputedValue,
Box<GenericTrackList<L, I>>: ToComputedValue<ComputedValue = Box<GenericTrackList<<L as ToComputedValue>::ComputedValue, <I as ToComputedValue>::ComputedValue>>>,
type ComputedValue = GenericGridTemplateComponent<<L as ToComputedValue>::ComputedValue, <I as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L, I> ToComputedValue for GenericTrackRepeat<L, I> where
L: ToComputedValue,
I: ToComputedValue, [src]
L: ToComputedValue,
I: ToComputedValue,
type ComputedValue = GenericTrackRepeat<<L as ToComputedValue>::ComputedValue, <I as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<L, N> ToComputedValue for GenericLengthOrNumber<L, N> where
L: ToComputedValue,
N: ToComputedValue, [src]
L: ToComputedValue,
N: ToComputedValue,
type ComputedValue = GenericLengthOrNumber<<L as ToComputedValue>::ComputedValue, <N as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LP, N> ToComputedValue for GenericBorderImageSideWidth<LP, N> where
LP: ToComputedValue,
N: ToComputedValue, [src]
LP: ToComputedValue,
N: ToComputedValue,
type ComputedValue = GenericBorderImageSideWidth<<LP as ToComputedValue>::ComputedValue, <N as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthOrAuto> ToComputedValue for GenericClipRect<LengthOrAuto> where
LengthOrAuto: ToComputedValue, [src]
LengthOrAuto: ToComputedValue,
type ComputedValue = GenericClipRect<<LengthOrAuto as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercent> ToComputedValue for GenericBackgroundSize<LengthPercent> where
LengthPercent: ToComputedValue, [src]
LengthPercent: ToComputedValue,
type ComputedValue = GenericBackgroundSize<<LengthPercent as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercent> ToComputedValue for GenericLengthPercentageOrAuto<LengthPercent> where
LengthPercent: ToComputedValue, [src]
LengthPercent: ToComputedValue,
type ComputedValue = GenericLengthPercentageOrAuto<<LengthPercent as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercent> ToComputedValue for GenericLengthPercentageOrNormal<LengthPercent> where
LengthPercent: ToComputedValue, [src]
LengthPercent: ToComputedValue,
type ComputedValue = GenericLengthPercentageOrNormal<<LengthPercent as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercent> ToComputedValue for GenericMaxSize<LengthPercent> where
LengthPercent: ToComputedValue, [src]
LengthPercent: ToComputedValue,
type ComputedValue = GenericMaxSize<<LengthPercent as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercent> ToComputedValue for GenericSize<LengthPercent> where
LengthPercent: ToComputedValue, [src]
LengthPercent: ToComputedValue,
type ComputedValue = GenericSize<<LengthPercent as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage> ToComputedValue for GenericVerticalAlign<LengthPercentage> where
LengthPercentage: ToComputedValue, [src]
LengthPercentage: ToComputedValue,
type ComputedValue = GenericVerticalAlign<<LengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage> ToComputedValue for GenericPolygon<LengthPercentage> where
LengthPercentage: ToComputedValue, [src]
LengthPercentage: ToComputedValue,
type ComputedValue = GenericPolygon<<LengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage> ToComputedValue for PolygonCoord<LengthPercentage> where
LengthPercentage: ToComputedValue, [src]
LengthPercentage: ToComputedValue,
type ComputedValue = PolygonCoord<<LengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage> ToComputedValue for GenericBorderRadius<LengthPercentage> where
LengthPercentage: ToComputedValue, [src]
LengthPercentage: ToComputedValue,
type ComputedValue = GenericBorderRadius<<LengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage, Integer> ToComputedValue for GenericTrackListValue<LengthPercentage, Integer> where
LengthPercentage: ToComputedValue,
Integer: ToComputedValue, [src]
LengthPercentage: ToComputedValue,
Integer: ToComputedValue,
type ComputedValue = GenericTrackListValue<<LengthPercentage as ToComputedValue>::ComputedValue, <Integer as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage, Integer> ToComputedValue for GenericTrackList<LengthPercentage, Integer> where
LengthPercentage: ToComputedValue,
Integer: ToComputedValue, [src]
LengthPercentage: ToComputedValue,
Integer: ToComputedValue,
type ComputedValue = GenericTrackList<<LengthPercentage as ToComputedValue>::ComputedValue, <Integer as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage, Length> ToComputedValue for GenericTranslate<LengthPercentage, Length> where
LengthPercentage: Zero,
Length: Zero,
<LengthPercentage as ToComputedValue>::ComputedValue: Zero,
<Length as ToComputedValue>::ComputedValue: Zero,
LengthPercentage: ToComputedValue,
Length: ToComputedValue, [src]
LengthPercentage: Zero,
Length: Zero,
<LengthPercentage as ToComputedValue>::ComputedValue: Zero,
<Length as ToComputedValue>::ComputedValue: Zero,
LengthPercentage: ToComputedValue,
Length: ToComputedValue,
type ComputedValue = GenericTranslate<<LengthPercentage as ToComputedValue>::ComputedValue, <Length as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<LengthPercentage, NonNegativeLengthPercentage> ToComputedValue for InsetRect<LengthPercentage, NonNegativeLengthPercentage> where
LengthPercentage: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue, [src]
LengthPercentage: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue,
type ComputedValue = InsetRect<<LengthPercentage as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
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, [src]
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>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<N> ToComputedValue for PreferredRatio<N> where
N: ToComputedValue, [src]
N: ToComputedValue,
type ComputedValue = PreferredRatio<<N as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<N> ToComputedValue for GenericAspectRatio<N> where
N: ToComputedValue, [src]
N: ToComputedValue,
type ComputedValue = GenericAspectRatio<<N as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<N> ToComputedValue for Ratio<N> where
N: ToComputedValue, [src]
N: ToComputedValue,
type ComputedValue = Ratio<<N as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<NonNegativeLength> ToComputedValue for GenericPerspective<NonNegativeLength> where
NonNegativeLength: ToComputedValue, [src]
NonNegativeLength: ToComputedValue,
type ComputedValue = GenericPerspective<<NonNegativeLength as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<NonNegativeLength> ToComputedValue for GenericCircle<NonNegativeLength> where
NonNegativeLength: ToComputedValue, [src]
NonNegativeLength: ToComputedValue,
type ComputedValue = GenericCircle<<NonNegativeLength as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<NonNegativeLength, NonNegativeLengthPercentage> ToComputedValue for GenericEndingShape<NonNegativeLength, NonNegativeLengthPercentage> where
NonNegativeLength: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue, [src]
NonNegativeLength: ToComputedValue,
NonNegativeLengthPercentage: ToComputedValue,
type ComputedValue = GenericEndingShape<<NonNegativeLength as ToComputedValue>::ComputedValue, <NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<NonNegativeLengthPercentage> ToComputedValue for GenericShapeRadius<NonNegativeLengthPercentage> where
NonNegativeLengthPercentage: ToComputedValue, [src]
NonNegativeLengthPercentage: ToComputedValue,
type ComputedValue = GenericShapeRadius<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<NonNegativeLengthPercentage> ToComputedValue for GenericEllipse<NonNegativeLengthPercentage> where
NonNegativeLengthPercentage: ToComputedValue, [src]
NonNegativeLengthPercentage: ToComputedValue,
type ComputedValue = GenericEllipse<<NonNegativeLengthPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Number> ToComputedValue for AnimationIterationCount<Number> where
Number: ToComputedValue, [src]
Number: ToComputedValue,
type ComputedValue = AnimationIterationCount<<Number as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Number> ToComputedValue for GenericScale<Number> where
Number: ToComputedValue, [src]
Number: ToComputedValue,
type ComputedValue = GenericScale<<Number as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Number> ToComputedValue for VariationValue<Number> where
Number: ToComputedValue, [src]
Number: ToComputedValue,
type ComputedValue = VariationValue<<Number as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Number, Angle> ToComputedValue for GenericRotate<Number, Angle> where
Number: ToComputedValue,
Angle: ToComputedValue, [src]
Number: ToComputedValue,
Angle: ToComputedValue,
type ComputedValue = GenericRotate<<Number as ToComputedValue>::ComputedValue, <Angle as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Number, Integer> ToComputedValue for InitialLetter<Number, Integer> where
Number: ToComputedValue,
Integer: ToComputedValue, [src]
Number: ToComputedValue,
Integer: ToComputedValue,
type ComputedValue = InitialLetter<<Number as ToComputedValue>::ComputedValue, <Integer as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<NumberOrPercentage> ToComputedValue for GenericBorderImageSlice<NumberOrPercentage> where
NumberOrPercentage: ToComputedValue, [src]
NumberOrPercentage: ToComputedValue,
type ComputedValue = GenericBorderImageSlice<<NumberOrPercentage as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<NumberOrPercentage, MozImageRectUrl> ToComputedValue for GenericMozImageRect<NumberOrPercentage, MozImageRectUrl> where
NumberOrPercentage: ToComputedValue,
MozImageRectUrl: ToComputedValue, [src]
NumberOrPercentage: ToComputedValue,
MozImageRectUrl: ToComputedValue,
type ComputedValue = GenericMozImageRect<<NumberOrPercentage as ToComputedValue>::ComputedValue, <MozImageRectUrl as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<OpacityType> ToComputedValue for GenericSVGOpacity<OpacityType> where
OpacityType: ToComputedValue, [src]
OpacityType: ToComputedValue,
type ComputedValue = GenericSVGOpacity<<OpacityType as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<Pos> ToComputedValue for GenericPositionOrAuto<Pos> where
Pos: ToComputedValue, [src]
Pos: ToComputedValue,
type ComputedValue = GenericPositionOrAuto<<Pos as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<PositiveInteger> ToComputedValue for ColumnCount<PositiveInteger> where
PositiveInteger: ToComputedValue, [src]
PositiveInteger: ToComputedValue,
type ComputedValue = ColumnCount<<PositiveInteger as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<R> ToComputedValue for GenericClipRectOrAuto<R> where
R: ToComputedValue, [src]
R: ToComputedValue,
type ComputedValue = GenericClipRectOrAuto<<R as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<S> ToComputedValue for GenericFlexBasis<S> where
S: ToComputedValue, [src]
S: ToComputedValue,
type ComputedValue = GenericFlexBasis<<S as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<S> ToComputedValue for OriginComponent<S> where
S: Side, [src]
S: Side,
type ComputedValue = ComputedLengthPercentage
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<S: Side> ToComputedValue for PositionComponent<S>[src]
type ComputedValue = ComputedLengthPercentage
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<T> ToComputedValue for Arc<T> where
T: ToComputedValue<ComputedValue = T>, [src]
T: ToComputedValue<ComputedValue = T>,
type ComputedValue = Self
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(computed: &Self) -> Self[src]
impl<T> ToComputedValue for ArcSlice<T> where
T: ToComputedValue<ComputedValue = T>, [src]
T: ToComputedValue<ComputedValue = T>,
type ComputedValue = Self
fn to_computed_value(&self, _: &Context) -> Self[src]
fn from_computed_value(computed: &Self) -> Self[src]
impl<T> ToComputedValue for OwnedSlice<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = OwnedSlice<<T as ToComputedValue>::ComputedValue>
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
fn from_computed_value(computed: &Self::ComputedValue) -> Self[src]
impl<T> ToComputedValue for FontSettings<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = FontSettings<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for GenericImplicitGridTracks<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = GenericImplicitGridTracks<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for Rect<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = Rect<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for GreaterThanOrEqualToOne<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = GreaterThanOrEqualToOne<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for NonNegative<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = NonNegative<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for ZeroToOne<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = ZeroToOne<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for GenericMatrix<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = GenericMatrix<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for GenericMatrix3D<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = GenericMatrix3D<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<T> ToComputedValue for GenericTransform<T> where
T: ToComputedValue, [src]
T: ToComputedValue,
type ComputedValue = GenericTransform<<T as ToComputedValue>::ComputedValue>
fn from_computed_value(from: &Self::ComputedValue) -> Self[src]
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue[src]
impl<U> ToComputedValue for GenericUrlOrNone<U> where
U: ToComputedValue, [src]
U: ToComputedValue,