Type Definition style::values::computed::background::BackgroundSize
[−]
[src]
type BackgroundSize = GenericBackgroundSize<LengthOrPercentageOrAuto>;
A computed value for the background-size
property.
Methods
impl BackgroundSize
[src]
Trait Implementations
impl RepeatableListAnimatable for BackgroundSize
[src]
impl ToAnimatedZero for BackgroundSize
[src]
fn to_animated_zero(&self) -> Result<Self, ()>
[src]
Returns a value that, when added with an underlying value, will produce the underlying value. This is used for SMIL animation's "by-animation" where SMIL first interpolates from the zero value to the 'by' value, and then adds the result to the underlying value. Read more
impl ToAnimatedValue for BackgroundSize
[src]
type AnimatedValue = Self
The type of the animated value.
fn to_animated_value(self) -> Self
[src]
Converts this value to an animated value.
fn from_animated_value(animated: Self::AnimatedValue) -> Self
[src]
Converts back an animated value into a computed value.