pub type VerticalAlign = GenericVerticalAlign<LengthPercentage>;
Expand description
A specified value for the vertical-align
property.
Aliased Type§
enum VerticalAlign {
Keyword(VerticalAlignKeyword),
Length(LengthPercentage),
}
Variants§
Keyword(VerticalAlignKeyword)
One of the vertical-align keywords.
Length(LengthPercentage)
<length-percentage>
Trait Implementations§
source§impl Parse for VerticalAlign
impl Parse for VerticalAlign
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