Enum style::properties::CustomDeclarationValue
source · pub enum CustomDeclarationValue {
Value(Arc<SpecifiedValue>),
CSSWideKeyword(CSSWideKeyword),
}
Expand description
A custom property declaration value is either an unparsed value or a CSS wide-keyword.
Variants§
Trait Implementations§
source§impl Clone for CustomDeclarationValue
impl Clone for CustomDeclarationValue
source§fn clone(&self) -> CustomDeclarationValue
fn clone(&self) -> CustomDeclarationValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<CustomDeclarationValue> for CustomDeclarationValue
impl PartialEq<CustomDeclarationValue> for CustomDeclarationValue
source§fn eq(&self, other: &CustomDeclarationValue) -> bool
fn eq(&self, other: &CustomDeclarationValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToCss for CustomDeclarationValue
impl ToCss for CustomDeclarationValue
source§impl ToShmem for CustomDeclarationValue
impl ToShmem for CustomDeclarationValue
impl StructuralPartialEq for CustomDeclarationValue
Auto Trait Implementations§
impl RefUnwindSafe for CustomDeclarationValue
impl Send for CustomDeclarationValue
impl Sync for CustomDeclarationValue
impl Unpin for CustomDeclarationValue
impl UnwindSafe for CustomDeclarationValue
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert