Skip to main content

FutexAtomicTy

Trait FutexAtomicTy 

Source
pub trait FutexAtomicTy {
    type Ty: FutexTy;

    // Required method
    fn ptr(&self) -> *mut Self::Ty;
}

Required Associated Types§

Required Methods§

Source

fn ptr(&self) -> *mut Self::Ty

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FutexAtomicTy for AtomicI32

Source§

type Ty = i32

Source§

fn ptr(&self) -> *mut i32

Source§

impl FutexAtomicTy for AtomicU32

Source§

type Ty = u32

Source§

fn ptr(&self) -> *mut u32

Implementors§