Skip to main content

UniqueId

Trait UniqueId 

Source
pub trait UniqueId {
    type Type;

    // Required method
    fn inc(&self) -> Self::Type;
}

Required Associated Types§

Required Methods§

Source

fn inc(&self) -> Self::Type

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl UniqueId for AtomicU64

Source§

type Type = u64

Source§

fn inc(&self) -> Self::Type

Implementors§