Type Alias InsetRect

Source
pub type InsetRect = GenericInsetRect<LengthPercentage, NonNegativeLengthPercentage>;
Expand description

The specified value of inset().

Aliased Type§

#[repr(C)]
pub struct InsetRect { pub rect: Rect<LengthPercentage>, pub round: GenericBorderRadius<NonNegative<LengthPercentage>>, }

Fields§

§rect: Rect<LengthPercentage>§round: GenericBorderRadius<NonNegative<LengthPercentage>>

Implementations§

Source§

impl InsetRect

Source

fn parse_function_arguments<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse the inner function arguments of inset()

Trait Implementations§

Source§

impl Parse for InsetRect

Source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more