[−][src]Enum fuzzy_pickles::ast::PatternKind
Variants
Box(PatternBox)
Byte(PatternByte)
ByteString(PatternByteString)
Character(PatternCharacter)
Ident(PatternIdent)
MacroCall(PatternMacroCall)
Number(PatternNumber)
RangeExclusive(PatternRangeExclusive)
RangeInclusive(PatternRangeInclusive)
Reference(PatternReference)
Slice(PatternSlice)
String(PatternString)
Struct(PatternStruct)
Tuple(PatternTuple)
Implementations
impl PatternKind
[src]
pub fn into_box(self) -> Option<PatternBox>
[src]
pub fn into_byte(self) -> Option<PatternByte>
[src]
pub fn into_byte_string(self) -> Option<PatternByteString>
[src]
pub fn into_character(self) -> Option<PatternCharacter>
[src]
pub fn into_ident(self) -> Option<PatternIdent>
[src]
pub fn into_macro_call(self) -> Option<PatternMacroCall>
[src]
pub fn into_number(self) -> Option<PatternNumber>
[src]
pub fn into_range_exclusive(self) -> Option<PatternRangeExclusive>
[src]
pub fn into_range_inclusive(self) -> Option<PatternRangeInclusive>
[src]
pub fn into_reference(self) -> Option<PatternReference>
[src]
pub fn into_slice(self) -> Option<PatternSlice>
[src]
pub fn into_string(self) -> Option<PatternString>
[src]
pub fn into_struct(self) -> Option<PatternStruct>
[src]
pub fn into_tuple(self) -> Option<PatternTuple>
[src]
pub fn as_box(&self) -> Option<&PatternBox>
[src]
pub fn as_byte(&self) -> Option<&PatternByte>
[src]
pub fn as_byte_string(&self) -> Option<&PatternByteString>
[src]
pub fn as_character(&self) -> Option<&PatternCharacter>
[src]
pub fn as_ident(&self) -> Option<&PatternIdent>
[src]
pub fn as_macro_call(&self) -> Option<&PatternMacroCall>
[src]
pub fn as_number(&self) -> Option<&PatternNumber>
[src]
pub fn as_range_exclusive(&self) -> Option<&PatternRangeExclusive>
[src]
pub fn as_range_inclusive(&self) -> Option<&PatternRangeInclusive>
[src]
pub fn as_reference(&self) -> Option<&PatternReference>
[src]
pub fn as_slice(&self) -> Option<&PatternSlice>
[src]
pub fn as_string(&self) -> Option<&PatternString>
[src]
pub fn as_struct(&self) -> Option<&PatternStruct>
[src]
pub fn as_tuple(&self) -> Option<&PatternTuple>
[src]
pub fn is_box(&self) -> bool
[src]
pub fn is_byte(&self) -> bool
[src]
pub fn is_byte_string(&self) -> bool
[src]
pub fn is_character(&self) -> bool
[src]
pub fn is_ident(&self) -> bool
[src]
pub fn is_macro_call(&self) -> bool
[src]
pub fn is_number(&self) -> bool
[src]
pub fn is_range_exclusive(&self) -> bool
[src]
pub fn is_range_inclusive(&self) -> bool
[src]
pub fn is_reference(&self) -> bool
[src]
pub fn is_slice(&self) -> bool
[src]
pub fn is_string(&self) -> bool
[src]
pub fn is_struct(&self) -> bool
[src]
pub fn is_tuple(&self) -> bool
[src]
Trait Implementations
impl Debug for PatternKind
[src]
impl HasExtent for PatternKind
[src]
impl<'a> Index<&'a PatternKind> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: &'a PatternKind) -> &Self::Output
[src]
impl Index<PatternKind> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: PatternKind) -> &Self::Output
[src]
impl Visit for PatternKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for PatternKind
impl Send for PatternKind
impl Sync for PatternKind
impl Unpin for PatternKind
impl UnwindSafe for PatternKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,