Enum amplify_syn::TypeClass [−][src]
pub enum TypeClass {}Show variants
Array, BareFn, Group, ImplTrait, Infer, Macro, Never, Paren, Path, Ptr, Reference, Slice, TraitObject, Tuple, Verbatim,
Constrains for the possible types that a Rust value could have.
Variants
A fixed size array type: [T; n]
.
A bare function type: fn(usize) -> bool
.
A type contained within invisible delimiters.
An impl Bound1 + Bound2 + Bound3
type where Bound
is a trait or
a lifetime.
Indication that a type should be inferred by the compiler: _
.
A macro in the type position.
The never type: !
.
A parenthesized type equivalent to the inner type.
A path like std::slice::Iter
, optionally qualified with a
self-type as in <Vec<T> as SomeTrait>::Associated
.
A raw pointer type: *const T
or *mut T
.
A reference type: &'a T
or &'a mut T
.
A dynamically sized slice type: [T]
.
A trait object type Bound1 + Bound2 + Bound3
where Bound
is a
trait or a lifetime.
A tuple type: (A, B, C, String)
.
Tokens in type position not interpreted by Syn.
Implementations
Trait Implementations
impl PartialOrd<TypeClass> for TypeClass
[src]
impl PartialOrd<TypeClass> for TypeClass
[src]impl StructuralEq for TypeClass
[src]
impl StructuralEq for TypeClass
[src]impl StructuralPartialEq for TypeClass
[src]
impl StructuralPartialEq for TypeClass
[src]Auto Trait Implementations
impl RefUnwindSafe for TypeClass
impl RefUnwindSafe for TypeClass
impl UnwindSafe for TypeClass
impl UnwindSafe for TypeClass