Type Definition style::values::computed::border::BorderSpacing
[−]
[src]
type BorderSpacing = GenericBorderSpacing<NonNegativeLength>;
A computed value for the border-spacing
longhand property.
Methods
impl BorderSpacing
[src]
pub fn zero() -> Self
[src]
Returns 0 0
.
pub fn horizontal(&self) -> Au
[src]
Returns the horizontal spacing.
pub fn vertical(&self) -> Au
[src]
Returns the vertical spacing.
Trait Implementations
impl ToAnimatedZero for BorderSpacing
[src]
fn to_animated_zero(&self) -> Result<Self, ()>
[src]
Returns a value that, when added with an underlying value, will produce the underlying value. This is used for SMIL animation's "by-animation" where SMIL first interpolates from the zero value to the 'by' value, and then adds the result to the underlying value. Read more