pub enum ClassProperty {
NonConst(Box<ClassPropertyNonConst>),
Const(Box<ClassPropertyConst>),
}
Variants§
NonConst(Box<ClassPropertyNonConst>)
Const(Box<ClassPropertyConst>)
Trait Implementations§
source§impl Clone for ClassProperty
impl Clone for ClassProperty
source§fn clone(&self) -> ClassProperty
fn clone(&self) -> ClassProperty
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 Debug for ClassProperty
impl Debug for ClassProperty
source§impl<'a> From<&'a ClassProperty> for RefNode<'a>
impl<'a> From<&'a ClassProperty> for RefNode<'a>
source§fn from(x: &'a ClassProperty) -> Self
fn from(x: &'a ClassProperty) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ClassProperty> for RefNodes<'a>
impl<'a> From<&'a ClassProperty> for RefNodes<'a>
source§fn from(x: &'a ClassProperty) -> Self
fn from(x: &'a ClassProperty) -> Self
Converts to this type from the input type.
source§impl From<ClassProperty> for AnyNode
impl From<ClassProperty> for AnyNode
source§fn from(x: ClassProperty) -> Self
fn from(x: ClassProperty) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ClassProperty
impl<'a> IntoIterator for &'a ClassProperty
source§impl PartialEq<ClassProperty> for ClassProperty
impl PartialEq<ClassProperty> for ClassProperty
source§fn eq(&self, other: &ClassProperty) -> bool
fn eq(&self, other: &ClassProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.