pub enum Specified<'a> {
CssWide(CssWide),
Unparsed(Vec<ComponentValue<'a>>),
Custom(Vec<ComponentValue<'a>>),
Value(Vec<Component<'a>>),
}Expand description
A property’s specified value.
Variants§
CssWide(CssWide)
Unparsed(Vec<ComponentValue<'a>>)
A value with var() or env() in it: valid until substitution
says otherwise, so kept as written, to be parsed then.
Custom(Vec<ComponentValue<'a>>)
A custom property’s value, as written.
Value(Vec<Component<'a>>)
A value that matched the property’s grammar.
Trait Implementations§
impl<'a> StructuralPartialEq for Specified<'a>
Auto Trait Implementations§
impl<'a> Forget for Specified<'a>
impl<'a> Freeze for Specified<'a>
impl<'a> Move for Specified<'a>
impl<'a> RefUnwindSafe for Specified<'a>
impl<'a> Send for Specified<'a>
impl<'a> Sync for Specified<'a>
impl<'a> Unpin for Specified<'a>
impl<'a> UnsafeUnpin for Specified<'a>
impl<'a> UnwindSafe for Specified<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more