pub type AxisEndPoint = AxisEndPoint<LengthPercentage>;Expand description
The computed value of hline and vline’s endpoint.
Aliased Type§
#[repr(u8)]pub enum AxisEndPoint {
ToPosition(AxisPosition<LengthPercentage>),
ByCoordinate(LengthPercentage),
}Variants§
ToPosition(AxisPosition<LengthPercentage>)
ByCoordinate(LengthPercentage)
Trait Implementations§
Source§impl From<&AxisEndPoint<f32>> for AxisEndPoint
impl From<&AxisEndPoint<f32>> for AxisEndPoint
Source§fn from(p: &AxisEndPoint<CSSFloat>) -> Self
fn from(p: &AxisEndPoint<CSSFloat>) -> Self
Converts to this type from the input type.