#[repr(C, packed(1))]pub struct AMX_NATIVE_INFO {
pub name: *const i8,
pub func: extern "C" fn(*mut AMX, *mut i32) -> i32,
}Expand description
Entry of the natives table registered via amx_Register — a name+pointer pair.
Fields§
§name: *const i8§func: extern "C" fn(*mut AMX, *mut i32) -> i32Trait Implementations§
Source§impl Clone for AMX_NATIVE_INFO
impl Clone for AMX_NATIVE_INFO
Source§fn clone(&self) -> AMX_NATIVE_INFO
fn clone(&self) -> AMX_NATIVE_INFO
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AMX_NATIVE_INFO
Auto Trait Implementations§
impl !Send for AMX_NATIVE_INFO
impl !Sync for AMX_NATIVE_INFO
impl Freeze for AMX_NATIVE_INFO
impl RefUnwindSafe for AMX_NATIVE_INFO
impl Unpin for AMX_NATIVE_INFO
impl UnsafeUnpin for AMX_NATIVE_INFO
impl UnwindSafe for AMX_NATIVE_INFO
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