Struct cairo_lang_syntax::node::ast::PatternGreen   
source · pub struct PatternGreen(pub GreenId);Tuple Fields§
§0: GreenIdTrait Implementations§
source§impl Clone for PatternGreen
 
impl Clone for PatternGreen
source§fn clone(&self) -> PatternGreen
 
fn clone(&self) -> PatternGreen
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 PatternGreen
 
impl Debug for PatternGreen
source§impl From<ExprPathGreen> for PatternGreen
 
impl From<ExprPathGreen> for PatternGreen
source§fn from(value: ExprPathGreen) -> Self
 
fn from(value: ExprPathGreen) -> Self
Converts to this type from the input type.
source§impl From<PatternEnumGreen> for PatternGreen
 
impl From<PatternEnumGreen> for PatternGreen
source§fn from(value: PatternEnumGreen) -> Self
 
fn from(value: PatternEnumGreen) -> Self
Converts to this type from the input type.
source§impl From<PatternGreen> for PatternListElementOrSeparatorGreen
 
impl From<PatternGreen> for PatternListElementOrSeparatorGreen
source§fn from(value: PatternGreen) -> Self
 
fn from(value: PatternGreen) -> Self
Converts to this type from the input type.
source§impl From<PatternIdentifierGreen> for PatternGreen
 
impl From<PatternIdentifierGreen> for PatternGreen
source§fn from(value: PatternIdentifierGreen) -> Self
 
fn from(value: PatternIdentifierGreen) -> Self
Converts to this type from the input type.
source§impl From<PatternStructGreen> for PatternGreen
 
impl From<PatternStructGreen> for PatternGreen
source§fn from(value: PatternStructGreen) -> Self
 
fn from(value: PatternStructGreen) -> Self
Converts to this type from the input type.
source§impl From<PatternTupleGreen> for PatternGreen
 
impl From<PatternTupleGreen> for PatternGreen
source§fn from(value: PatternTupleGreen) -> Self
 
fn from(value: PatternTupleGreen) -> Self
Converts to this type from the input type.
source§impl From<TerminalLiteralNumberGreen> for PatternGreen
 
impl From<TerminalLiteralNumberGreen> for PatternGreen
source§fn from(value: TerminalLiteralNumberGreen) -> Self
 
fn from(value: TerminalLiteralNumberGreen) -> Self
Converts to this type from the input type.
source§impl From<TerminalShortStringGreen> for PatternGreen
 
impl From<TerminalShortStringGreen> for PatternGreen
source§fn from(value: TerminalShortStringGreen) -> Self
 
fn from(value: TerminalShortStringGreen) -> Self
Converts to this type from the input type.
source§impl From<TerminalUnderscoreGreen> for PatternGreen
 
impl From<TerminalUnderscoreGreen> for PatternGreen
source§fn from(value: TerminalUnderscoreGreen) -> Self
 
fn from(value: TerminalUnderscoreGreen) -> Self
Converts to this type from the input type.
source§impl Hash for PatternGreen
 
impl Hash for PatternGreen
source§impl PartialEq<PatternGreen> for PatternGreen
 
impl PartialEq<PatternGreen> for PatternGreen
source§fn eq(&self, other: &PatternGreen) -> bool
 
fn eq(&self, other: &PatternGreen) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for PatternGreen
impl Eq for PatternGreen
impl StructuralEq for PatternGreen
impl StructuralPartialEq for PatternGreen
Auto Trait Implementations§
impl RefUnwindSafe for PatternGreen
impl Send for PatternGreen
impl Sync for PatternGreen
impl Unpin for PatternGreen
impl UnwindSafe for PatternGreen
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
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.