pub trait AtomicConstNew: Atomic {
    fn new(v: Self::Primitive) -> Self;
}
Available on crate feature const only.

Required Methods§

source

fn new(v: Self::Primitive) -> Self

Implementations on Foreign Types§

source§

impl AtomicConstNew for AtomicU8

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicI8

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicU16

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicI16

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicU32

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicI32

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicU64

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicI64

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicUsize

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicIsize

source§

const fn new(v: Self::Primitive) -> Self

source§

impl AtomicConstNew for AtomicBool

source§

const fn new(v: Self::Primitive) -> Self

Implementors§