Unsafe

Struct Unsafe 

Source
pub struct Unsafe;
Expand description

Marker type for unsafe functions.

Trait Implementations§

Source§

impl Clone for Unsafe

Source§

fn clone(&self) -> Unsafe

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Unsafe

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for Unsafe

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Unsafe

Source§

fn eq(&self, other: &Unsafe) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Safety for Unsafe

Source§

const IS_SAFE: bool = false

true for safe functions, false for unsafe ones.
Source§

impl<Ret> WithSafety<Unsafe> for extern "C" fn() -> Ret

Source§

type F = unsafe extern "C" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for extern "C" fn(A) -> Ret

Source§

type F = unsafe extern "C" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for extern "C" fn(A, B) -> Ret

Source§

type F = unsafe extern "C" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for extern "C" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for extern "C" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for extern "C" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for extern "C" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for extern "C-unwind" fn() -> Ret

Source§

type F = unsafe extern "C-unwind" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for extern "C-unwind" fn(A) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for extern "C-unwind" fn(A, B) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for extern "C-unwind" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for extern "C-unwind" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for extern "C-unwind" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for extern "C-unwind" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for extern "system" fn() -> Ret

Source§

type F = unsafe extern "system" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for extern "system" fn(A) -> Ret

Source§

type F = unsafe extern "system" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for extern "system" fn(A, B) -> Ret

Source§

type F = unsafe extern "system" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for extern "system" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for extern "system" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for extern "system" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for extern "system" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for extern "system-unwind" fn() -> Ret

Source§

type F = unsafe extern "system-unwind" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for extern "system-unwind" fn(A) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for extern "system-unwind" fn(A, B) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for extern "system-unwind" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for extern "system-unwind" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for extern "system-unwind" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for extern "system-unwind" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for extern "sysv64" fn() -> Ret

Source§

type F = unsafe extern "sysv64" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for extern "sysv64" fn(A) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for extern "sysv64" fn(A, B) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for extern "sysv64" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for extern "sysv64" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for extern "sysv64" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for extern "sysv64" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for extern "sysv64-unwind" fn() -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for extern "sysv64-unwind" fn(A) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for extern "sysv64-unwind" fn(A, B) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for extern "sysv64-unwind" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for extern "sysv64-unwind" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for extern "sysv64-unwind" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for extern "sysv64-unwind" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for fn() -> Ret

Source§

type F = unsafe fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for fn(A) -> Ret

Source§

type F = unsafe fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for fn(A, B) -> Ret

Source§

type F = unsafe fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for fn(A, B, C) -> Ret

Source§

type F = unsafe fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for fn(A, B, C, D) -> Ret

Source§

type F = unsafe fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for unsafe extern "C" fn() -> Ret

Source§

type F = unsafe extern "C" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for unsafe extern "C" fn(A) -> Ret

Source§

type F = unsafe extern "C" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for unsafe extern "C" fn(A, B) -> Ret

Source§

type F = unsafe extern "C" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for unsafe extern "C" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for unsafe extern "C" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for unsafe extern "C" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for unsafe extern "C" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "C" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for unsafe extern "C-unwind" fn() -> Ret

Source§

type F = unsafe extern "C-unwind" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for unsafe extern "C-unwind" fn(A) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for unsafe extern "C-unwind" fn(A, B) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for unsafe extern "C-unwind" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for unsafe extern "C-unwind" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for unsafe extern "C-unwind" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for unsafe extern "C-unwind" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "C-unwind" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for unsafe extern "system" fn() -> Ret

Source§

type F = unsafe extern "system" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for unsafe extern "system" fn(A) -> Ret

Source§

type F = unsafe extern "system" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for unsafe extern "system" fn(A, B) -> Ret

Source§

type F = unsafe extern "system" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for unsafe extern "system" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for unsafe extern "system" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for unsafe extern "system" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for unsafe extern "system" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "system" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for unsafe extern "system-unwind" fn() -> Ret

Source§

type F = unsafe extern "system-unwind" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for unsafe extern "system-unwind" fn(A) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for unsafe extern "system-unwind" fn(A, B) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for unsafe extern "system-unwind" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for unsafe extern "system-unwind" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for unsafe extern "system-unwind" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for unsafe extern "system-unwind" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "system-unwind" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for unsafe extern "sysv64" fn() -> Ret

Source§

type F = unsafe extern "sysv64" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for unsafe extern "sysv64" fn(A) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for unsafe extern "sysv64" fn(A, B) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for unsafe extern "sysv64" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for unsafe extern "sysv64" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for unsafe extern "sysv64" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for unsafe extern "sysv64" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "sysv64" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for unsafe extern "sysv64-unwind" fn() -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for unsafe extern "sysv64-unwind" fn(A) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for unsafe extern "sysv64-unwind" fn(A, B) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for unsafe extern "sysv64-unwind" fn(A, B, C) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for unsafe extern "sysv64-unwind" fn(A, B, C, D) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for unsafe extern "sysv64-unwind" fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for unsafe extern "sysv64-unwind" fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe extern "sysv64-unwind" fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret> WithSafety<Unsafe> for unsafe fn() -> Ret

Source§

type F = unsafe fn() -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A> WithSafety<Unsafe> for unsafe fn(A) -> Ret

Source§

type F = unsafe fn(A) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B> WithSafety<Unsafe> for unsafe fn(A, B) -> Ret

Source§

type F = unsafe fn(A, B) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C> WithSafety<Unsafe> for unsafe fn(A, B, C) -> Ret

Source§

type F = unsafe fn(A, B, C) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D> WithSafety<Unsafe> for unsafe fn(A, B, C, D) -> Ret

Source§

type F = unsafe fn(A, B, C, D) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E> WithSafety<Unsafe> for unsafe fn(A, B, C, D, E) -> Ret

Source§

type F = unsafe fn(A, B, C, D, E) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl<Ret, A, B, C, D, E, F> WithSafety<Unsafe> for unsafe fn(A, B, C, D, E, F) -> Ret

Source§

type F = unsafe fn(A, B, C, D, E, F) -> Ret

The function pointer type with the requested safety (preserving ABI and signature).
Source§

impl Copy for Unsafe

Source§

impl Eq for Unsafe

Source§

impl StructuralPartialEq for Unsafe

Auto Trait Implementations§

§

impl Freeze for Unsafe

§

impl RefUnwindSafe for Unsafe

§

impl Send for Unsafe

§

impl Sync for Unsafe

§

impl Unpin for Unsafe

§

impl UnwindSafe for Unsafe

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DropFlavorWrapper<T> for T

Source§

type Flavor = MayDrop

The DropFlavor that wraps T into Self
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, W> HasTypeWitness<W> for T
where W: MakeTypeWitness<Arg = T>, T: ?Sized,

Source§

const WITNESS: W = W::MAKE

A constant of the type witness
Source§

impl<T> Identity for T
where T: ?Sized,

Source§

const TYPE_EQ: TypeEq<T, <T as Identity>::Type> = TypeEq::NEW

Proof that Self is the same type as Self::Type, provides methods for casting between Self and Self::Type.
Source§

type Type = T

The same type as Self, used to emulate type equality bounds (T == U) with associated type equality constraints (T: Identity<Type = U>).
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.