Type Alias style::values::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.