pub struct FnDecl {
pub inputs: Vec<Param>,
pub output: Option<Type>,
}Fields§
§inputs: Vec<Param>§output: Option<Type>Implementations§
Trait Implementations§
source§impl From<FnDecl> for TokenStream
impl From<FnDecl> for TokenStream
source§impl PartialEq for FnDecl
impl PartialEq for FnDecl
impl Eq for FnDecl
impl StructuralEq for FnDecl
impl StructuralPartialEq for FnDecl
Auto Trait Implementations§
impl RefUnwindSafe for FnDecl
impl Send for FnDecl
impl Sync for FnDecl
impl Unpin for FnDecl
impl UnwindSafe for FnDecl
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