pub struct GenericHookMeta {
pub params: Vec<GenericParam>,
pub return_type: TypeInfo,
pub is_instance: bool,
pub signature: String,
}Expand description
Metadata about a generically-hooked method, built once at install time.
The params list includes the instance pointer (if any) as the first
entry, followed by the declared parameters. Each is mapped to its ABI
register slot.
Fields§
§params: Vec<GenericParam>§return_type: TypeInfo§is_instance: bool§signature: StringTrait Implementations§
Source§impl Clone for GenericHookMeta
impl Clone for GenericHookMeta
Auto Trait Implementations§
impl Forget for GenericHookMeta
impl Freeze for GenericHookMeta
impl Move for GenericHookMeta
impl RefUnwindSafe for GenericHookMeta
impl Send for GenericHookMeta
impl Sync for GenericHookMeta
impl Unpin for GenericHookMeta
impl UnsafeUnpin for GenericHookMeta
impl UnwindSafe for GenericHookMeta
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