pub struct Signature<'a> {
pub arguments: &'a [Type<'a>],
pub return_type: Type<'a>,
}
Expand description
A representation of the arguments and return type of a method
Fields§
§arguments: &'a [Type<'a>]
The arguments of the method
return_type: Type<'a>
The return type of the method
Implementations§
Trait Implementations§
impl<'a> Copy for Signature<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Signature<'a>
impl<'a> Send for Signature<'a>
impl<'a> Sync for Signature<'a>
impl<'a> Unpin for Signature<'a>
impl<'a> UnwindSafe for Signature<'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