pub struct UsizeMmap<B>(/* private fields */);
Expand description
Newtype for [Mmap
]/[MmapMut
] which can be dereferenced as slices of usize
instead of slices of u8, so it can be used as backend for [BitFieldVec
].
Trait Implementations§
Auto Trait Implementations§
impl<B> RefUnwindSafe for UsizeMmap<B>where B: RefUnwindSafe,
impl<B> Send for UsizeMmap<B>where B: Send,
impl<B> Sync for UsizeMmap<B>where B: Sync,
impl<B> Unpin for UsizeMmap<B>where B: Unpin,
impl<B> UnwindSafe for UsizeMmap<B>where B: UnwindSafe,
Blanket Implementations§
§impl<T> BitFieldSliceMut<usize> for Twhere
T: AsMut<[usize]> + AsRef<[usize]>,
impl<T> BitFieldSliceMut<usize> for Twhere T: AsMut<[usize]> + AsRef<[usize]>,
§unsafe fn set_unchecked(&mut self, index: usize, value: usize)
unsafe fn set_unchecked(&mut self, index: usize, value: usize)
Set the element of the slice at the specified index.
No bounds checking is performed. Read more
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere U: CastableFrom<T>,
§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere U: DowncastableFrom<T>,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.