pub type Integer = CSSInteger;
Expand description
A <integer>
value.
Trait Implementations§
source§impl ComputeSquaredDistance for i32
impl ComputeSquaredDistance for i32
source§fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
Computes the squared distance between two animatable values.
source§impl ToAnimatedValue for i32
impl ToAnimatedValue for i32
§type AnimatedValue = i32
type AnimatedValue = i32
The type of the animated value.
source§fn to_animated_value(self) -> Self
fn to_animated_value(self) -> Self
Converts this value to an animated value.
source§fn from_animated_value(animated: Self::AnimatedValue) -> Self
fn from_animated_value(animated: Self::AnimatedValue) -> Self
Converts back an animated value into a computed value.
source§impl ToAnimatedZero for i32
impl ToAnimatedZero for i32
source§fn to_animated_zero(&self) -> Result<Self, ()>
fn to_animated_zero(&self) -> Result<Self, ()>
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
source§impl ToComputedValue for i32
impl ToComputedValue for i32
§type ComputedValue = i32
type ComputedValue = i32
The computed value type we’re going to be converted to.
source§fn to_computed_value(&self, _: &Context<'_>) -> Self
fn to_computed_value(&self, _: &Context<'_>) -> Self
Convert a specified value to a computed value, using itself and the data
inside the
Context
.source§fn from_computed_value(other: &Self) -> Self
fn from_computed_value(other: &Self) -> Self
Convert a computed value to specified value form. Read more
source§impl ToResolvedValue for i32
impl ToResolvedValue for i32
§type ResolvedValue = i32
type ResolvedValue = i32
The resolved value type we’re going to be converted to.
source§fn to_resolved_value(self, _: &Context<'_>) -> Self
fn to_resolved_value(self, _: &Context<'_>) -> Self
Convert a resolved value to a resolved value.
source§fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
Convert a resolved value to resolved value form.