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