Struct cairo_lang_syntax::node::ast::PatternStructParamGreen
source · pub struct PatternStructParamGreen(pub GreenId);Tuple Fields§
§0: GreenIdTrait Implementations§
source§impl Clone for PatternStructParamGreen
impl Clone for PatternStructParamGreen
source§fn clone(&self) -> PatternStructParamGreen
fn clone(&self) -> PatternStructParamGreen
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 PatternStructParamGreen
impl Debug for PatternStructParamGreen
source§impl From<PatternIdentifierGreen> for PatternStructParamGreen
impl From<PatternIdentifierGreen> for PatternStructParamGreen
source§fn from(value: PatternIdentifierGreen) -> Self
fn from(value: PatternIdentifierGreen) -> Self
Converts to this type from the input type.
source§impl From<PatternStructParamGreen> for PatternStructParamListElementOrSeparatorGreen
impl From<PatternStructParamGreen> for PatternStructParamListElementOrSeparatorGreen
source§fn from(value: PatternStructParamGreen) -> Self
fn from(value: PatternStructParamGreen) -> Self
Converts to this type from the input type.
source§impl From<PatternStructParamWithExprGreen> for PatternStructParamGreen
impl From<PatternStructParamWithExprGreen> for PatternStructParamGreen
source§fn from(value: PatternStructParamWithExprGreen) -> Self
fn from(value: PatternStructParamWithExprGreen) -> Self
Converts to this type from the input type.
source§impl From<TerminalDotDotGreen> for PatternStructParamGreen
impl From<TerminalDotDotGreen> for PatternStructParamGreen
source§fn from(value: TerminalDotDotGreen) -> Self
fn from(value: TerminalDotDotGreen) -> Self
Converts to this type from the input type.
source§impl Hash for PatternStructParamGreen
impl Hash for PatternStructParamGreen
source§impl PartialEq<PatternStructParamGreen> for PatternStructParamGreen
impl PartialEq<PatternStructParamGreen> for PatternStructParamGreen
source§fn eq(&self, other: &PatternStructParamGreen) -> bool
fn eq(&self, other: &PatternStructParamGreen) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PatternStructParamGreen
impl Eq for PatternStructParamGreen
impl StructuralEq for PatternStructParamGreen
impl StructuralPartialEq for PatternStructParamGreen
Auto Trait Implementations§
impl RefUnwindSafe for PatternStructParamGreen
impl Send for PatternStructParamGreen
impl Sync for PatternStructParamGreen
impl Unpin for PatternStructParamGreen
impl UnwindSafe for PatternStructParamGreen
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.