pub struct GenericParam {
pub slot: ParamSlot,
pub type_info: TypeInfo,
pub name: String,
}Available on x86-64 only.
Expand description
One parameter of a hooked method, mapped to its ABI slot at install time.
Fields§
§slot: ParamSlotWhich register holds the argument when the hook runs.
type_info: TypeInfoThe parameter’s managed type.
name: StringThe declared name, this for the instance (release builds may strip
names to arg0, arg1, …).
Trait Implementations§
Source§impl Clone for GenericParam
impl Clone for GenericParam
Auto Trait Implementations§
impl Forget for GenericParam
impl Freeze for GenericParam
impl Move for GenericParam
impl RefUnwindSafe for GenericParam
impl Send for GenericParam
impl Sync for GenericParamwhere
RawVecInner: Sync,
impl Unpin for GenericParam
impl UnsafeUnpin for GenericParam
impl UnwindSafe for GenericParam
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