pub type ClipRect = GenericClipRect<LengthOrAuto>;
Expand description
rect(…)
Aliased Type§
struct ClipRect {
pub top: GenericLengthPercentageOrAuto<Length>,
pub right: GenericLengthPercentageOrAuto<Length>,
pub bottom: GenericLengthPercentageOrAuto<Length>,
pub left: GenericLengthPercentageOrAuto<Length>,
}
Fields§
§top: GenericLengthPercentageOrAuto<Length>
§right: GenericLengthPercentageOrAuto<Length>
§bottom: GenericLengthPercentageOrAuto<Length>
§left: GenericLengthPercentageOrAuto<Length>
Implementations§
source§impl ClipRect
impl ClipRect
sourcefn parse_quirky<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
allow_quirks: AllowQuirks,
) -> Result<Self, ParseError<'i>>
fn parse_quirky<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, allow_quirks: AllowQuirks, ) -> Result<Self, ParseError<'i>>
Parses a rect(