Skip to main content

Content

Type Alias Content 

Source
pub type Content = GenericContent<Image>;
Expand description

The specified value for the content property.

Aliased Type§

#[repr(u8)]
pub enum Content { Normal, None, Items(GenericContentItems<GenericImage<GenericGradient<LineDirection, Length, LengthPercentage, GenericPosition<PositionComponent<HorizontalPositionKeyword>, PositionComponent<VerticalPositionKeyword>>, Angle, AngleOrPercentage, Color>, CssUrl, Color, Percentage, Resolution>>), }

Variants§

Implementations§

Source§

impl Content

Source

fn parse_counter_style( context: &ParserContext<'_>, input: &mut Parser<'_>, ) -> CounterStyle

Trait Implementations§

Source§

impl Parse for Content

Source§

fn parse( context: &ParserContext<'_>, input: &mut Parser<'_>, ) -> Result<Self, ParseError>

Parse a value of this type. Read more