Type Alias BorderSpacing

Source
pub type BorderSpacing = GenericBorderSpacing<NonNegativeLength>;
Expand description

A computed value for the border-spacing longhand property.

Aliased Type§

#[repr(transparent)]
pub struct BorderSpacing(pub Size2D<NonNegative<CSSPixelLength>>);

Tuple Fields§

§0: Size2D<NonNegative<CSSPixelLength>>

Implementations§

Source§

impl BorderSpacing

Source

pub fn zero() -> Self

Returns 0 0.

Source

pub fn horizontal(&self) -> Au

Returns the horizontal spacing.

Source

pub fn vertical(&self) -> Au

Returns the vertical spacing.