Type Definition style::values::computed::border::BorderSpacing

source ·
pub type BorderSpacing = GenericBorderSpacing<NonNegativeLength>;
Expand description

A computed value for the border-spacing longhand property.

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.