Trait syncbox::atomic::ToAtomicRepr [] [src]

pub trait ToAtomicRepr: Send + Sync {
    type Repr;
    fn from_repr(raw: Self::Repr) -> Self;
    fn to_repr(self) -> Self::Repr;
}

A value that can be stored in an atomic box

Associated Types

The representation of the value when stored in an atomic box.

Required Methods

Load the value from the raw representation

Convert the value from the raw representation

Implementors