Struct sv_parser::source_text::class_items::ClassItemDeclaration
source · pub struct ClassItemDeclaration {
pub nodes: (Vec<AttributeInstance>, ClassDeclaration),
}
Fields§
§nodes: (Vec<AttributeInstance>, ClassDeclaration)
Trait Implementations§
source§impl Clone for ClassItemDeclaration
impl Clone for ClassItemDeclaration
source§fn clone(&self) -> ClassItemDeclaration
fn clone(&self) -> ClassItemDeclaration
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 ClassItemDeclaration
impl Debug for ClassItemDeclaration
source§impl<'a> From<&'a ClassItemDeclaration> for RefNode<'a>
impl<'a> From<&'a ClassItemDeclaration> for RefNode<'a>
source§fn from(x: &'a ClassItemDeclaration) -> RefNode<'a>
fn from(x: &'a ClassItemDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ClassItemDeclaration> for RefNodes<'a>
impl<'a> From<&'a ClassItemDeclaration> for RefNodes<'a>
source§fn from(x: &'a ClassItemDeclaration) -> RefNodes<'a>
fn from(x: &'a ClassItemDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ClassItemDeclaration> for AnyNode
impl From<ClassItemDeclaration> for AnyNode
source§fn from(x: ClassItemDeclaration) -> AnyNode
fn from(x: ClassItemDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ClassItemDeclaration
impl<'a> IntoIterator for &'a ClassItemDeclaration
source§impl PartialEq for ClassItemDeclaration
impl PartialEq for ClassItemDeclaration
source§fn eq(&self, other: &ClassItemDeclaration) -> bool
fn eq(&self, other: &ClassItemDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a ClassItemDeclaration> for Locate
impl<'a> TryFrom<&'a ClassItemDeclaration> for Locate
source§impl TryFrom<AnyNode> for ClassItemDeclaration
impl TryFrom<AnyNode> for ClassItemDeclaration
source§impl TryFrom<ClassItemDeclaration> for Locate
impl TryFrom<ClassItemDeclaration> for Locate
impl StructuralPartialEq for ClassItemDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for ClassItemDeclaration
impl Send for ClassItemDeclaration
impl Sync for ClassItemDeclaration
impl Unpin for ClassItemDeclaration
impl UnwindSafe for ClassItemDeclaration
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