Enum valkyrie_ast::ArgumentKey
source · pub enum ArgumentKey {
Nothing,
Symbol(IdentifierNode),
}Expand description
The key of the argument
Variants§
Trait Implementations§
source§impl Clone for ArgumentKey
impl Clone for ArgumentKey
source§fn clone(&self) -> ArgumentKey
fn clone(&self) -> ArgumentKey
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 ArgumentKey
impl Debug for ArgumentKey
source§impl From<ArgumentKey> for PatternNode
impl From<ArgumentKey> for PatternNode
source§fn from(o: ArgumentKey) -> Self
fn from(o: ArgumentKey) -> Self
Converts to this type from the input type.
source§impl Hash for ArgumentKey
impl Hash for ArgumentKey
source§impl PartialEq for ArgumentKey
impl PartialEq for ArgumentKey
source§fn eq(&self, other: &ArgumentKey) -> bool
fn eq(&self, other: &ArgumentKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ArgumentKey
impl StructuralPartialEq for ArgumentKey
Auto Trait Implementations§
impl RefUnwindSafe for ArgumentKey
impl Send for ArgumentKey
impl Sync for ArgumentKey
impl Unpin for ArgumentKey
impl UnwindSafe for ArgumentKey
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