style::values

Type Alias CSSFloat

Source
pub type CSSFloat = f32;
Expand description

A CSS float value.

Trait Implementations§

Source§

impl From<GreaterThanOrEqualToOne<f32>> for CSSFloat

Source§

fn from(number: GreaterThanOrEqualToOneNumber) -> CSSFloat

Converts to this type from the input type.
Source§

impl From<NonNegative<f32>> for CSSFloat

Source§

fn from(number: NonNegativeNumber) -> CSSFloat

Converts to this type from the input type.
Source§

impl Mul<CoordinatePair<f32>> for CSSFloat

Source§

type Output = CoordinatePair<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CoordPair) -> CoordPair

Performs the * operation. Read more