Struct style::properties::shorthands::background::LonghandsToSerialize
[−]
[src]
pub struct LonghandsToSerialize<'a> { pub background_color: &'a SpecifiedValue, pub background_position_x: &'a SpecifiedValue, pub background_position_y: &'a SpecifiedValue, pub background_repeat: &'a SpecifiedValue, pub background_attachment: &'a SpecifiedValue, pub background_image: &'a SpecifiedValue, pub background_size: &'a SpecifiedValue, pub background_origin: &'a SpecifiedValue, pub background_clip: &'a SpecifiedValue, }
Represents a serializable set of all of the longhand properties that correspond to a shorthand.
Fields
background_color: &'a SpecifiedValue
background_position_x: &'a SpecifiedValue
background_position_y: &'a SpecifiedValue
background_repeat: &'a SpecifiedValue
background_attachment: &'a SpecifiedValue
background_image: &'a SpecifiedValue
background_size: &'a SpecifiedValue
background_origin: &'a SpecifiedValue
background_clip: &'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.