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