Struct divans::slice_util::AllocatedMemoryRange[][src]

pub struct AllocatedMemoryRange<T, AllocT: Allocator<T>>(pub AllocT::AllocatedMemory, pub Range<usize>);

Methods

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

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

Trait Implementations

impl<T, AllocT: Allocator<T>> Index<usize> for AllocatedMemoryRange<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 AllocatedMemoryRange<T, AllocT>
[src]

Important traits for &'a mut I

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

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

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

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

Important traits for &'a [u8]

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

Important traits for &'a [u8]

Auto Trait Implementations

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

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