Trait sid::Identifier

source ·
pub trait Identifier: Copy + FromUsize + ToUsize + PartialEq {
    type Handle: IntegerHandle;
    type Tag;
}

Required Associated Types§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Identifier for i8

§

type Handle = i8

§

type Tag = ()

source§

impl Identifier for i16

§

type Handle = i16

§

type Tag = ()

source§

impl Identifier for i32

§

type Handle = i32

§

type Tag = ()

source§

impl Identifier for i64

§

type Handle = i64

§

type Tag = ()

source§

impl Identifier for u8

§

type Handle = u8

§

type Tag = ()

source§

impl Identifier for u16

§

type Handle = u16

§

type Tag = ()

source§

impl Identifier for u32

§

type Handle = u32

§

type Tag = ()

source§

impl Identifier for u64

§

type Handle = u64

§

type Tag = ()

Implementors§

source§

impl<T, H: IntegerHandle> Identifier for Id<T, H>

§

type Handle = H

§

type Tag = T