pub type ViewTimelineInset = GenericViewTimelineInset<LengthPercentage>;
Expand description
A specified value for the view-timeline-inset
property.
Aliased Type§
struct ViewTimelineInset {
pub start: GenericLengthPercentageOrAuto<LengthPercentage>,
pub end: GenericLengthPercentageOrAuto<LengthPercentage>,
}
Fields§
§start: GenericLengthPercentageOrAuto<LengthPercentage>
The start inset in the relevant axis.
end: GenericLengthPercentageOrAuto<LengthPercentage>
The end inset.
Trait Implementations§
source§impl Parse for ViewTimelineInset
impl Parse for ViewTimelineInset
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