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