Type Definition style::values::computed::PositiveInteger
[−]
[src]
type PositiveInteger = GreaterThanOrEqualToOne<CSSInteger>;
A wrapper of Integer, but only accept a value >= 1.
Trait Implementations
impl ToAnimatedValue for ComputedPositiveInteger
[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.
impl From<CSSInteger> for PositiveInteger
[src]
fn from(int: CSSInteger) -> PositiveInteger
[src]
Performs the conversion.