pub trait ValidDiscriminant:
    Sealed
    + Copy
    + Eq
    + Ord
    + Debug
    + Send
    + Sync
    + 'static { }
Expand description

Marker trait for types that abi_stable supports as enum discriminants.

This trait cannot be implemented outside of this module.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ValidDiscriminant for i8

source§

impl ValidDiscriminant for i16

source§

impl ValidDiscriminant for i32

source§

impl ValidDiscriminant for i64

source§

impl ValidDiscriminant for isize

source§

impl ValidDiscriminant for u8

source§

impl ValidDiscriminant for u16

source§

impl ValidDiscriminant for u32

source§

impl ValidDiscriminant for u64

source§

impl ValidDiscriminant for usize

Implementors§