pub trait SliceWrapper<T> {
// Required method
fn slice(&self) -> &[T];
// Provided method
fn len(&self) -> usize { ... }
}Required Methods§
Provided Methods§
Implementations on Foreign Types§
Source§impl<'a, T> SliceWrapper<&'a mut [T]> for HeapPrealloc<'a, T>where
T: 'a,
impl<'a, T> SliceWrapper<&'a mut [T]> for HeapPrealloc<'a, T>where
T: 'a,
Source§impl<Ty> SliceWrapper<Ty> for MemoryBlock<Ty>where
Ty: Default,
impl<Ty> SliceWrapper<Ty> for MemoryBlock<Ty>where
Ty: Default,
Implementors§
impl SliceWrapper<u8> for SliceOffset
impl SliceWrapper<u32> for HistogramCommand
impl SliceWrapper<u32> for HistogramDistance
impl SliceWrapper<u32> for HistogramLiteral
impl SliceWrapper<Compat32x8> for Array264i
impl SliceWrapper<Compat32x8> for Array528i
impl SliceWrapper<Compat32x8> for Array712i
impl SliceWrapper<Compat32x8> for EmptyIVec
impl<'a> SliceWrapper<u8> for InputReference<'a>
impl<'a> SliceWrapper<u8> for InputReferenceMut<'a>
impl<'a, T> SliceWrapper<T> for AllocatedStackMemory<'a, T>where
T: 'a,
impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H10Buckets<AllocU32>
impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H2Sub<AllocU32>
impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H3Sub<AllocU32>
impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H4Sub<AllocU32>
impl<AllocU32: Allocator<u32>> SliceWrapper<u32> for H54Sub<AllocU32>
impl<SliceType: SliceWrapper<u8>> SliceWrapper<u8> for FeatureFlagSliceType<SliceType>
Available on non-crate feature
external-literal-probability only.