[][src]Trait pui_core::scalar::Scalar

pub trait Scalar: Seal + Copy + Ord + Hash { }

Simple types that can be produced from ScalarAllocator, these types are known to have stable Clone and Eq implementations that allow them to be used in the implementation of Token

This trait is used by the scalar_allocator macro's implementation to verify safety, and provide pieces of implementation.

All contents of Scalar that are hidden from documentation, have NO STABILITY GUARANTEES WHATSOEVER

Implementations on Foreign Types

impl Scalar for ()[src]

impl Scalar for u8[src]

impl Scalar for NonZeroU8[src]

impl Scalar for u16[src]

impl Scalar for NonZeroU16[src]

impl Scalar for u32[src]

impl Scalar for NonZeroU32[src]

impl Scalar for u64[src]

impl Scalar for NonZeroU64[src]

impl Scalar for usize[src]

impl Scalar for NonZeroUsize[src]

Loading content...

Implementors

Loading content...