Type Alias components_arena::RawId
source · pub type RawId = (usize, NonZeroUsize);
Expand description
Non-generic, FFI-friendly ComponentId
representaion.
Trait Implementations§
source§impl<const host: bool = true> ComponentId<host> for (usize, NonZeroUsize)
impl<const host: bool = true> ComponentId<host> for (usize, NonZeroUsize)
source§const fn from_raw(raw: (usize, NonZeroUsize)) -> (usize, NonZeroUsize)
const fn from_raw(raw: (usize, NonZeroUsize)) -> (usize, NonZeroUsize)
Forms an id from the
into_raw
function result.