Type Alias style::values::specified::ClipRectOrAuto
source · pub type ClipRectOrAuto = GenericClipRectOrAuto<ClipRect>;
Expand description
rect(…) | auto
Aliased Type§
enum ClipRectOrAuto {
Auto,
Rect(GenericClipRect<GenericLengthPercentageOrAuto<Length>>),
}
Variants§
Auto
Rect(GenericClipRect<GenericLengthPercentageOrAuto<Length>>)
Implementations§
source§impl ClipRectOrAuto
impl ClipRectOrAuto
sourcepub fn parse_quirky<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
allow_quirks: AllowQuirks,
) -> Result<Self, ParseError<'i>>
pub fn parse_quirky<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, allow_quirks: AllowQuirks, ) -> Result<Self, ParseError<'i>>
Parses a ClipRect or Auto, allowing quirks.