Type Alias style::values::specified::basic_shape::InsetRect

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

The specified value of inset().

Aliased Type§

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