[−][src]Enum fuzzy_pickles::ast::TypeKind
Variants
Array(TypeArray)
Disambiguation(TypeDisambiguation)
Function(TypeFunction)
HigherRankedTraitBounds(TypeHigherRankedTraitBounds)
DynTrait(TypeDynTrait)
ImplTrait(TypeImplTrait)
Named(TypeNamed)
Pointer(TypePointer)
Reference(TypeReference)
Slice(TypeSlice)
Tuple(TypeTuple)
Uninhabited(Extent)
Implementations
impl TypeKind
[src]
pub fn into_array(self) -> Option<TypeArray>
[src]
pub fn into_disambiguation(self) -> Option<TypeDisambiguation>
[src]
pub fn into_function(self) -> Option<TypeFunction>
[src]
pub fn into_higher_ranked_trait_bounds(
self
) -> Option<TypeHigherRankedTraitBounds>
[src]
self
) -> Option<TypeHigherRankedTraitBounds>
pub fn into_dyn_trait(self) -> Option<TypeDynTrait>
[src]
pub fn into_impl_trait(self) -> Option<TypeImplTrait>
[src]
pub fn into_named(self) -> Option<TypeNamed>
[src]
pub fn into_pointer(self) -> Option<TypePointer>
[src]
pub fn into_reference(self) -> Option<TypeReference>
[src]
pub fn into_slice(self) -> Option<TypeSlice>
[src]
pub fn into_tuple(self) -> Option<TypeTuple>
[src]
pub fn into_uninhabited(self) -> Option<Extent>
[src]
pub fn as_array(&self) -> Option<&TypeArray>
[src]
pub fn as_disambiguation(&self) -> Option<&TypeDisambiguation>
[src]
pub fn as_function(&self) -> Option<&TypeFunction>
[src]
pub fn as_higher_ranked_trait_bounds(
&self
) -> Option<&TypeHigherRankedTraitBounds>
[src]
&self
) -> Option<&TypeHigherRankedTraitBounds>
pub fn as_dyn_trait(&self) -> Option<&TypeDynTrait>
[src]
pub fn as_impl_trait(&self) -> Option<&TypeImplTrait>
[src]
pub fn as_named(&self) -> Option<&TypeNamed>
[src]
pub fn as_pointer(&self) -> Option<&TypePointer>
[src]
pub fn as_reference(&self) -> Option<&TypeReference>
[src]
pub fn as_slice(&self) -> Option<&TypeSlice>
[src]
pub fn as_tuple(&self) -> Option<&TypeTuple>
[src]
pub fn as_uninhabited(&self) -> Option<&Extent>
[src]
pub fn is_array(&self) -> bool
[src]
pub fn is_disambiguation(&self) -> bool
[src]
pub fn is_function(&self) -> bool
[src]
pub fn is_higher_ranked_trait_bounds(&self) -> bool
[src]
pub fn is_dyn_trait(&self) -> bool
[src]
pub fn is_impl_trait(&self) -> bool
[src]
pub fn is_named(&self) -> bool
[src]
pub fn is_pointer(&self) -> bool
[src]
pub fn is_reference(&self) -> bool
[src]
pub fn is_slice(&self) -> bool
[src]
pub fn is_tuple(&self) -> bool
[src]
pub fn is_uninhabited(&self) -> bool
[src]
Trait Implementations
impl Debug for TypeKind
[src]
impl HasExtent for TypeKind
[src]
impl<'a> Index<&'a TypeKind> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: &'a TypeKind) -> &Self::Output
[src]
impl Index<TypeKind> for str
[src]
type Output = str
The returned type after indexing.
fn index(&self, i: TypeKind) -> &Self::Output
[src]
impl Visit for TypeKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for TypeKind
impl Send for TypeKind
impl Sync for TypeKind
impl Unpin for TypeKind
impl UnwindSafe for TypeKind
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>,