pub struct Sig {
pub generics: Vec<TypeParam>,
pub impl_generics: usize,
pub params: Vec<Param>,
pub ret: Option<Type>,
}Fields§
§generics: Vec<TypeParam>The type parameters of the impl block, then of the function.
impl_generics: usizeThe number of the type parameters of the impl block.
params: Vec<Param>§ret: Option<Type>None for ().
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Sig
impl !Sync for Sig
impl Forget for Sig
impl Freeze for Sig
impl Move for Sig
impl RefUnwindSafe for Sig
impl Unpin for Sig
impl UnsafeUnpin for Sig
impl UnwindSafe for Sig
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