Enum syntax::ast::PrimTy[src]
pub enum PrimTy {
TyInt(IntTy),
TyUint(UintTy),
TyFloat(FloatTy),
TyStr,
TyBool,
TyChar,
}Variants
TyInt | |
TyUint | |
TyFloat | |
TyStr | |
TyBool | |
TyChar |
pub enum PrimTy {
TyInt(IntTy),
TyUint(UintTy),
TyFloat(FloatTy),
TyStr,
TyBool,
TyChar,
}TyInt | |
TyUint | |
TyFloat | |
TyStr | |
TyBool | |
TyChar |
impl<__S: Writer> Hash<__S> for PrimTyfn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for PrimTyimpl<__S: Encoder<__E>, __E> Encodable<__S, __E> for PrimTyimpl Eq for PrimTyfn assert_receiver_is_total_eq(&self)impl PartialEq for PrimTyimpl Clone for PrimTyfn clone(&self) -> PrimTyfn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).