pub enum Ty {
Path(PathType),
Tuple(Parens<TyTupleDescriptor>),
Array(SquareBrackets<TyArrayDescriptor>),
Str {
str_token: StrToken,
length: SquareBrackets<Box<Expr>>,
},
Infer {
underscore_token: UnderscoreToken,
},
}
Variants
Path(PathType)
Tuple(Parens<TyTupleDescriptor>)
Array(SquareBrackets<TyArrayDescriptor>)
Str
Infer
Fields
underscore_token: UnderscoreToken
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more