pub struct Signature {
pub parameters: Vec<ValueCheck>,
pub ret: ValueCheck,
}Expand description
The Rust types of a hook or call, checked against the method before use.
Fields§
§parameters: Vec<ValueCheck>One check per argument, the instance (this) first for instance methods.
ret: ValueCheckThe check for the return type.
Auto Trait Implementations§
impl Forget for Signature
impl Freeze for Signature
impl Move for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signaturewhere
RawVecInner: Sync,
impl Unpin for Signature
impl UnsafeUnpin for Signaturewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ValueCheck>: UnsafeUnpin,
&'static str: UnsafeUnpin,
impl UnwindSafe for Signature
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