Struct valkyrie_ast::IdentifierPattern
source · pub struct IdentifierPattern {
pub modifiers: ModifierList,
pub identifier: IdentifierNode,
}
Expand description
#macro mod id
Fields§
§modifiers: ModifierList
modifiers
identifier: IdentifierNode
identifiers
Trait Implementations§
source§impl Clone for IdentifierPattern
impl Clone for IdentifierPattern
source§fn clone(&self) -> IdentifierPattern
fn clone(&self) -> IdentifierPattern
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 IdentifierPattern
impl Debug for IdentifierPattern
source§impl From<IdentifierPattern> for PatternNode
impl From<IdentifierPattern> for PatternNode
source§fn from(o: IdentifierPattern) -> Self
fn from(o: IdentifierPattern) -> Self
Converts to this type from the input type.
source§impl Hash for IdentifierPattern
impl Hash for IdentifierPattern
source§impl PartialEq for IdentifierPattern
impl PartialEq for IdentifierPattern
source§fn eq(&self, other: &IdentifierPattern) -> bool
fn eq(&self, other: &IdentifierPattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IdentifierPattern
impl StructuralPartialEq for IdentifierPattern
Auto Trait Implementations§
impl RefUnwindSafe for IdentifierPattern
impl Send for IdentifierPattern
impl Sync for IdentifierPattern
impl Unpin for IdentifierPattern
impl UnwindSafe for IdentifierPattern
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