[][src]Trait nitric_component::id::WrapperId

pub trait WrapperId: Id {
    type Original: Id<Key = Self::Key>;
    fn as_inner(&self) -> &Self::Original;
fn into_inner(self) -> Self::Original; }

An ID that wraps another ID. It mirrors all basic ID property the wrapped ID has, through respective blanket implementations.

References

This is used for

Associated Types

The wrapped, original ID type.

Required Methods

Returns an immutable reference to the inner ID.

Consumes this ID, returning the inner ID.

Implementors

impl<'merger, ID> WrapperId for CheckedId<'merger, ID> where
    ID: MergingDeletion + Id + 'merger, 
[src]