Struct style::properties::shorthands::border_image::LonghandsToSerialize
[−]
[src]
pub struct LonghandsToSerialize<'a> { pub border_image_outset: &'a SpecifiedValue, pub border_image_repeat: &'a SpecifiedValue, pub border_image_slice: &'a SpecifiedValue, pub border_image_source: &'a SpecifiedValue, pub border_image_width: &'a SpecifiedValue, }
Represents a serializable set of all of the longhand properties that correspond to a shorthand.
Fields
border_image_outset: &'a SpecifiedValue
border_image_repeat: &'a SpecifiedValue
border_image_slice: &'a SpecifiedValue
border_image_source: &'a SpecifiedValue
border_image_width: &'a SpecifiedValue
Methods
impl<'a> LonghandsToSerialize<'a>
[src]
pub fn from_iter<I>(iter: I) -> Result<Self, ()> where
I: Iterator<Item = &'a PropertyDeclaration>,
[src]
I: Iterator<Item = &'a PropertyDeclaration>,
Tries to get a serializable set of longhands given a set of property declarations.