Struct divans::slice_util::AllocatedMemoryPrefix[][src]

pub struct AllocatedMemoryPrefix<T, AllocT: Allocator<T>>(pub AllocT::AllocatedMemory, pub u32);

Methods

impl<T, AllocT: Allocator<T>> AllocatedMemoryPrefix<T, AllocT>
[src]

impl<T, AllocT: Allocator<T>> AllocatedMemoryPrefix<T, AllocT>
[src]

Trait Implementations

impl<T, AllocT: Allocator<T>> Index<usize> for AllocatedMemoryPrefix<T, AllocT>
[src]

The returned type after indexing.

Important traits for &'a mut I

Performs the indexing (container[index]) operation.

impl<T, AllocT: Allocator<T>> IndexMut<usize> for AllocatedMemoryPrefix<T, AllocT>
[src]

Important traits for &'a mut I

Performs the mutable indexing (container[index]) operation.

impl<T, AllocT: Allocator<T>> Default for AllocatedMemoryPrefix<T, AllocT>
[src]

Returns the "default value" for a type. Read more

impl<T, AllocT: Allocator<T>> SliceWrapperMut<T> for AllocatedMemoryPrefix<T, AllocT>
[src]

Important traits for &'a [u8]

impl<T, AllocT: Allocator<T>> SliceWrapper<T> for AllocatedMemoryPrefix<T, AllocT>
[src]

Important traits for &'a [u8]

Auto Trait Implementations

impl<T, AllocT> Send for AllocatedMemoryPrefix<T, AllocT> where
    <AllocT as Allocator<T>>::AllocatedMemory: Send

impl<T, AllocT> Sync for AllocatedMemoryPrefix<T, AllocT> where
    <AllocT as Allocator<T>>::AllocatedMemory: Sync