Enum sv_parser_syntaxtree::declarations::function_declarations::InterfaceIdentifierOrClassScope
source · pub enum InterfaceIdentifierOrClassScope {
InterfaceIdentifier(Box<(InterfaceIdentifier, Symbol)>),
ClassScope(Box<ClassScope>),
}
Variants§
InterfaceIdentifier(Box<(InterfaceIdentifier, Symbol)>)
ClassScope(Box<ClassScope>)
Trait Implementations§
source§impl Clone for InterfaceIdentifierOrClassScope
impl Clone for InterfaceIdentifierOrClassScope
source§fn clone(&self) -> InterfaceIdentifierOrClassScope
fn clone(&self) -> InterfaceIdentifierOrClassScope
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<'a> From<&'a InterfaceIdentifierOrClassScope> for RefNode<'a>
impl<'a> From<&'a InterfaceIdentifierOrClassScope> for RefNode<'a>
source§fn from(x: &'a InterfaceIdentifierOrClassScope) -> Self
fn from(x: &'a InterfaceIdentifierOrClassScope) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a InterfaceIdentifierOrClassScope> for RefNodes<'a>
impl<'a> From<&'a InterfaceIdentifierOrClassScope> for RefNodes<'a>
source§fn from(x: &'a InterfaceIdentifierOrClassScope) -> Self
fn from(x: &'a InterfaceIdentifierOrClassScope) -> Self
Converts to this type from the input type.
source§impl From<InterfaceIdentifierOrClassScope> for AnyNode
impl From<InterfaceIdentifierOrClassScope> for AnyNode
source§fn from(x: InterfaceIdentifierOrClassScope) -> Self
fn from(x: InterfaceIdentifierOrClassScope) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a InterfaceIdentifierOrClassScope
impl<'a> IntoIterator for &'a InterfaceIdentifierOrClassScope
source§impl<'a> Node<'a> for InterfaceIdentifierOrClassScope
impl<'a> Node<'a> for InterfaceIdentifierOrClassScope
source§impl PartialEq for InterfaceIdentifierOrClassScope
impl PartialEq for InterfaceIdentifierOrClassScope
source§fn eq(&self, other: &InterfaceIdentifierOrClassScope) -> bool
fn eq(&self, other: &InterfaceIdentifierOrClassScope) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a InterfaceIdentifierOrClassScope> for Locate
impl<'a> TryFrom<&'a InterfaceIdentifierOrClassScope> for Locate
impl StructuralPartialEq for InterfaceIdentifierOrClassScope
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceIdentifierOrClassScope
impl Send for InterfaceIdentifierOrClassScope
impl Sync for InterfaceIdentifierOrClassScope
impl Unpin for InterfaceIdentifierOrClassScope
impl UnwindSafe for InterfaceIdentifierOrClassScope
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