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>where
*const u8 is !null: Freeze,
PhantomData<ComponentValue<'a>>: Freeze,
PhantomData<Component<'a>>: Freeze,
impl<'a> Move for Specified<'a>
impl<'a> RefUnwindSafe for Specified<'a>where
String: RefUnwindSafe,
impl<'a> Send for Specified<'a>
impl<'a> Sync for Specified<'a>
impl<'a> Unpin for Specified<'a>
impl<'a> UnsafeUnpin for Specified<'a>where
*const u8 is !null: UnsafeUnpin,
PhantomData<ComponentValue<'a>>: UnsafeUnpin,
PhantomData<Component<'a>>: UnsafeUnpin,
impl<'a> UnwindSafe for Specified<'a>where
RawVecInner: UnwindSafe,
&'a str: UnwindSafe,
String: UnwindSafe,
&'static str: UnwindSafe,
BoxRaw<Node>: UnwindSafe,
BoxRaw<Color>: UnwindSafe,
BoxRaw<Relative>: UnwindSafe,
BoxRaw<Mix>: UnwindSafe,
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