Struct atomic_enums::AtomicEnum
source · pub struct AtomicEnum<E>(/* private fields */);Expand description
Stores a atomic enumeration.
Generic Parameters
EEmust implement the traitAtomizeand with it, the traitsFrom<u16> + Inti<u16>
Example Usage
// TODOImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<E> RefUnwindSafe for AtomicEnum<E>where E: RefUnwindSafe,
impl<E> Send for AtomicEnum<E>where E: Send,
impl<E> Sync for AtomicEnum<E>where E: Sync,
impl<E> Unpin for AtomicEnum<E>where E: Unpin,
impl<E> UnwindSafe for AtomicEnum<E>where E: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more