pub type BorderRadius = GenericBorderRadius<NonNegativeLengthPercentage>;
Expand description
A specified value for the border-radius
property.
Aliased Type§
struct BorderRadius {
pub top_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
pub top_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
pub bottom_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
pub bottom_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
}
Fields§
§top_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>
The top left radius.
top_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>
The top right radius.
bottom_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>
The bottom right radius.
bottom_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>
The bottom left radius.
Trait Implementations§
source§impl Parse for BorderRadius
impl Parse for BorderRadius
source§fn parse<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>>
fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more