UnsafeFnPtr

Trait UnsafeFnPtr 

Source
pub trait UnsafeFnPtr: FnPtr { }
Expand description

Marker trait for all unsafe function pointer types (unsafe fn / unsafe extern fn).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<Ret: 'static> UnsafeFnPtr for unsafe fn() -> Ret

Source§

impl<Ret: 'static> UnsafeFnPtr for unsafe extern "C" fn() -> Ret

Source§

impl<Ret: 'static> UnsafeFnPtr for unsafe extern "system" fn() -> Ret

Source§

impl<Ret: 'static> UnsafeFnPtr for unsafe extern "sysv64" fn() -> Ret

Source§

impl<Ret: 'static, A: 'static> UnsafeFnPtr for unsafe fn(A) -> Ret

Source§

impl<Ret: 'static, A: 'static> UnsafeFnPtr for unsafe extern "C" fn(A) -> Ret

Source§

impl<Ret: 'static, A: 'static> UnsafeFnPtr for unsafe extern "system" fn(A) -> Ret

Source§

impl<Ret: 'static, A: 'static> UnsafeFnPtr for unsafe extern "sysv64" fn(A) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static> UnsafeFnPtr for unsafe fn(A, B) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static> UnsafeFnPtr for unsafe extern "C" fn(A, B) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static> UnsafeFnPtr for unsafe extern "system" fn(A, B) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static> UnsafeFnPtr for unsafe extern "sysv64" fn(A, B) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static> UnsafeFnPtr for unsafe fn(A, B, C) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static> UnsafeFnPtr for unsafe extern "C" fn(A, B, C) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static> UnsafeFnPtr for unsafe extern "system" fn(A, B, C) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static> UnsafeFnPtr for unsafe extern "sysv64" fn(A, B, C) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> UnsafeFnPtr for unsafe fn(A, B, C, D) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> UnsafeFnPtr for unsafe extern "C" fn(A, B, C, D) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> UnsafeFnPtr for unsafe extern "system" fn(A, B, C, D) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static> UnsafeFnPtr for unsafe extern "sysv64" fn(A, B, C, D) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> UnsafeFnPtr for unsafe fn(A, B, C, D, E) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> UnsafeFnPtr for unsafe extern "C" fn(A, B, C, D, E) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> UnsafeFnPtr for unsafe extern "system" fn(A, B, C, D, E) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static> UnsafeFnPtr for unsafe extern "sysv64" fn(A, B, C, D, E) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> UnsafeFnPtr for unsafe fn(A, B, C, D, E, F) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> UnsafeFnPtr for unsafe extern "C" fn(A, B, C, D, E, F) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> UnsafeFnPtr for unsafe extern "system" fn(A, B, C, D, E, F) -> Ret

Source§

impl<Ret: 'static, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static> UnsafeFnPtr for unsafe extern "sysv64" fn(A, B, C, D, E, F) -> Ret

Implementors§