Skip to main content

BorderImageWidth

Type Alias BorderImageWidth 

Source
pub type BorderImageWidth = Rect<BorderImageSideWidth>;
Expand description

A specified value for the border-image-width property.

Aliased Type§

#[repr(C)]
pub struct BorderImageWidth(pub GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>, pub GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>, pub GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>, pub GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>);

Tuple Fields§

§0: GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>§1: GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>§2: GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>§3: GenericBorderImageSideWidth<NonNegative<LengthPercentage>, NonNegative<Number>>

Trait Implementations§

Source§

impl ToTyped for BorderImageWidth

Source§

fn to_typed(&self, dest: &mut ThinVec<TypedValue>) -> Result<(), ()>

Attempt to convert self into one or more TypedValue items. Read more
Source§

fn to_typed_value(&self) -> Option<TypedValue>

Attempt to convert self into a TypedValue. Read more
Source§

fn to_numeric_value(&self) -> Option<NumericValue>

Attempt to convert self into a NumericValue. Read more
Source§

fn to_typed_value_list(&self) -> Option<TypedValueList>

Attempt to convert self into a TypedValueList. Read more