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
impl InsetRect
sourcefn parse_function_arguments<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>>
fn parse_function_arguments<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>
Parse the inner function arguments of inset()