Type Definition style::values::specified::image::Image
[−]
[src]
type Image = GenericImage<Gradient, MozImageRect, SpecifiedUrl>;
Specified values for an image according to CSS-IMAGES. https://drafts.csswg.org/css-images/#image-values
Methods
impl Image
[src]
pub fn for_cascade(url: ServoUrl) -> Self
[src]
Creates an already specified image value from an already resolved URL for insertion in the cascade.
Trait Implementations
impl Parse for Image
[src]
fn parse<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Image, ParseError<'i>>
[src]
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Image, ParseError<'i>>
Parse a value of this type. Read more