Skip to main content

BorderImageWidth

Type Alias BorderImageWidth 

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

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

Aliased Type§

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

Tuple Fields§

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

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