pub struct FuncType<'a> {
pub params: Vec<NamedType<'a>>,
pub results: ResultList<'a>,
}
Expand description
Represents a function type in the AST.
Fields§
§params: Vec<NamedType<'a>>
The parameters of the function.
results: ResultList<'a>
The results of the function.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FuncType<'a>
impl<'a> RefUnwindSafe for FuncType<'a>
impl<'a> Send for FuncType<'a>
impl<'a> Sync for FuncType<'a>
impl<'a> Unpin for FuncType<'a>
impl<'a> UnwindSafe for FuncType<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more