diff options
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -14,6 +14,7 @@ const FIELD_COUNT_SIZE: usize = size_of::<usize>(); const FIELD_COUNT_OFFSET: usize = 0; const FIELD_METADATA_ARRAY_OFFSET: usize = FIELD_COUNT_SIZE; +#[derive(Debug)] pub struct OwnedAnyPtr { ptr: *mut dyn Any, @@ -717,6 +718,7 @@ impl Drop for MultiVec } } +#[derive(Debug)] pub struct FieldSlice<'mv> { bytes: &'mv [MaybeUninit<u8>], @@ -744,6 +746,7 @@ impl FieldSlice<'_> } } +#[derive(Debug)] pub struct FieldSliceIter<'mv> { bytes: &'mv [MaybeUninit<u8>], @@ -777,6 +780,7 @@ impl<'mv> Iterator for FieldSliceIter<'mv> } } +#[derive(Debug)] pub struct Field<'bytes, 'mv> { bytes: Either<&'bytes [MaybeUninit<u8>], AnonUnique>, @@ -810,6 +814,7 @@ impl<'bytes, 'mv> Field<'bytes, 'mv> // } } +#[derive(Debug)] pub struct FieldSliceMut<'mv> { bytes: &'mv mut [MaybeUninit<u8>], @@ -877,6 +882,7 @@ impl<'mv> FieldSliceMut<'mv> } } +#[derive(Debug)] pub struct FieldSliceIterMut<'mv> { bytes: &'mv mut [MaybeUninit<u8>], @@ -917,6 +923,7 @@ impl<'mv> Iterator for FieldSliceIterMut<'mv> } } +#[derive(Debug)] pub struct FieldMut<'mv> { bytes: &'mv mut [MaybeUninit<u8>], |