Skip to main content

AxisEndPoint

Type Alias AxisEndPoint 

Source
pub type AxisEndPoint = AxisEndPoint<LengthPercentage, LengthPercentage>;
Expand description

The computed value of hline and vline’s endpoint.

Aliased Type§

#[repr(u8)]
pub enum AxisEndPoint { ToPosition(LengthPercentage), ByCoordinate(LengthPercentage), }

Variants§

§

ToPosition(LengthPercentage)

§

ByCoordinate(LengthPercentage)

Trait Implementations§

Source§

impl From<&AxisEndPoint<f32, f32>> for AxisEndPoint

Source§

fn from(p: &AxisEndPoint<CSSFloat, CSSFloat>) -> Self

Converts to this type from the input type.