pub type Perspective = GenericPerspective<NonNegativeLength>;Expand description
A specified value for the perspective property.
Aliased Type§
#[repr(C, u8)]pub enum Perspective {
Length(NonNegative<Length>),
None,
}Variants§
Implementations§
Source§impl Perspective
impl Perspective
Sourcepub(crate) fn parse_legacy(
context: &ParserContext<'_>,
input: &mut Parser<'_>,
) -> Result<Self, ParseError>
pub(crate) fn parse_legacy( context: &ParserContext<'_>, input: &mut Parser<'_>, ) -> Result<Self, ParseError>
Parses a -webkit-perspective value.