[−][src]Trait components_arena::ComponentId
An implementer of the ComponentId
trait is a type behaves as Id
.
Required methods
fn from_raw_parts(raw_parts: (usize, NonZeroUsize)) -> Self
Forms an id from the into_raw_parts
function result.
fn into_raw_parts(self) -> (usize, NonZeroUsize)
Transforms the id to primitive-typed parts, which can be easily passed through FFI.
Use from_raw_parts
to put the the id back together.