Enum sv_parser::ClassProperty
source · 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) -> RefNode<'a>
fn from(x: &'a ClassProperty) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a ClassProperty) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ClassProperty> for AnyNode
impl From<ClassProperty> for AnyNode
source§fn from(x: ClassProperty) -> AnyNode
fn from(x: ClassProperty) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ClassProperty
impl<'a> IntoIterator for &'a ClassProperty
source§impl PartialEq for ClassProperty
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ClassProperty> for Locate
impl<'a> TryFrom<&'a ClassProperty> for Locate
source§impl TryFrom<AnyNode> for ClassProperty
impl TryFrom<AnyNode> for ClassProperty
source§impl TryFrom<ClassProperty> for Locate
impl TryFrom<ClassProperty> for Locate
impl StructuralPartialEq for ClassProperty
Auto Trait Implementations§
impl RefUnwindSafe for ClassProperty
impl Send for ClassProperty
impl Sync for ClassProperty
impl Unpin for ClassProperty
impl UnwindSafe for ClassProperty
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