Struct style::properties::shorthands::outline::LonghandsToSerialize
[−]
[src]
pub struct LonghandsToSerialize<'a> { pub outline_width: &'a SpecifiedValue, pub outline_style: &'a SpecifiedValue, pub outline_color: &'a SpecifiedValue, }
Represents a serializable set of all of the longhand properties that correspond to a shorthand.
Fields
outline_width: &'a SpecifiedValue
outline_style: &'a SpecifiedValue
outline_color: &'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.