pub struct PatternGreen(pub GreenId);
Tuple Fields§
§0: GreenId
Trait 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<PatternFixedSizeArrayGreen> for PatternGreen
impl From<PatternFixedSizeArrayGreen> for PatternGreen
source§fn from(value: PatternFixedSizeArrayGreen) -> Self
fn from(value: PatternFixedSizeArrayGreen) -> 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<PatternGreen> for PatternListOrElementOrSeparatorGreen
impl From<PatternGreen> for PatternListOrElementOrSeparatorGreen
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<TerminalFalseGreen> for PatternGreen
impl From<TerminalFalseGreen> for PatternGreen
source§fn from(value: TerminalFalseGreen) -> Self
fn from(value: TerminalFalseGreen) -> 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<TerminalStringGreen> for PatternGreen
impl From<TerminalStringGreen> for PatternGreen
source§fn from(value: TerminalStringGreen) -> Self
fn from(value: TerminalStringGreen) -> Self
Converts to this type from the input type.
source§impl From<TerminalTrueGreen> for PatternGreen
impl From<TerminalTrueGreen> for PatternGreen
source§fn from(value: TerminalTrueGreen) -> Self
fn from(value: TerminalTrueGreen) -> 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 for PatternGreen
impl PartialEq for PatternGreen
impl Copy for PatternGreen
impl Eq for PatternGreen
impl StructuralPartialEq for PatternGreen
Auto Trait Implementations§
impl Freeze for PatternGreen
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more