[][src]Struct nitric_component::allocator::Merger

pub struct Merger<A: ?Sized> { /* fields omitted */ }

A type to ensure IDs cannot be deleted while they are wrapped in CheckedId.

This is almost always the right choice for MergingDeletion::Merger.

This type should be required mutably for performing the deletion of flagged IDs. By borrowing it immutably in CheckedId, we ensure all checked IDs must have been dropped before a call to MergeDeleted::merge_deleted.

Methods

impl<A> Merger<A>
[src]

Creates a new, unique Merger marker value.

Returns a reference to the inner InstanceId

Trait Implementations

impl<A: ?Sized> Default for Merger<A>
[src]

impl<A: ?Sized> Debug for Merger<A>
[src]

Auto Trait Implementations

impl<A: ?Sized> Send for Merger<A>

impl<A: ?Sized> Sync for Merger<A>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]