pub trait SliceWrapper<T> {
    // Required method
    fn slice(&self) -> &[T];

    // Provided method
    fn len(&self) -> usize { ... }
}

Required Methods§

source

fn slice(&self) -> &[T]

Provided Methods§

source

fn len(&self) -> usize

Implementors§

source§

impl<'a, T: 'a> SliceWrapper<T> for AllocatedStackMemory<'a, T>

impl<'a, T: 'a> SliceWrapper<&'a mut [T]> for HeapPrealloc<'a, T>

impl<T> SliceWrapper<T> for WrapBox<T>

impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H4Sub<AllocU32>

impl<SliceType: SliceWrapper<u8>> SliceWrapper<u8> for LiteralCommand<SliceType>

impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H2Sub<AllocU32>

impl<SliceType: SliceWrapper<u8>> SliceWrapper<u8> for FeatureFlagSliceType<SliceType>

impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H54Sub<AllocU32>

impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H3Sub<AllocU32>

impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H10Buckets<AllocU32>

impl<'a> SliceWrapper<u8> for InputReference<'a>

impl<Ty: Sized + Default> SliceWrapper<Ty> for MemoryBlock<Ty>