Struct swh_graph::utils::mmap::NumberMmap
source · pub struct NumberMmap<E: ByteOrder, N: AsBytes, B> { /* private fields */ }
Expand description
Newtype for [Mmap
] used to store arrays of any integers
instead of slices of u8
Implementations§
source§impl<E: ByteOrder, N: AsBytes> NumberMmap<E, N, Mmap>
impl<E: ByteOrder, N: AsBytes> NumberMmap<E, N, Mmap>
Trait Implementations§
source§impl<E: ByteOrder> GetIndex for &NumberMmap<E, i16, Mmap>
impl<E: ByteOrder> GetIndex for &NumberMmap<E, i16, Mmap>
source§impl<E: ByteOrder> GetIndex for &NumberMmap<E, i64, Mmap>
impl<E: ByteOrder> GetIndex for &NumberMmap<E, i64, Mmap>
source§impl<E: ByteOrder> GetIndex for &NumberMmap<E, u32, Mmap>
impl<E: ByteOrder> GetIndex for &NumberMmap<E, u32, Mmap>
source§impl<E: ByteOrder> GetIndex for &NumberMmap<E, u64, Mmap>
impl<E: ByteOrder> GetIndex for &NumberMmap<E, u64, Mmap>
Auto Trait Implementations§
impl<E, N, B> RefUnwindSafe for NumberMmap<E, N, B>where B: RefUnwindSafe, E: RefUnwindSafe, N: RefUnwindSafe,
impl<E, N, B> Send for NumberMmap<E, N, B>where B: Send, E: Send,
impl<E, N, B> Sync for NumberMmap<E, N, B>where B: Sync, E: Sync,
impl<E, N, B> Unpin for NumberMmap<E, N, B>where B: Unpin, E: Unpin, N: Unpin,
impl<E, N, B> UnwindSafe for NumberMmap<E, N, B>where B: UnwindSafe, E: UnwindSafe, N: UnwindSafe,
Blanket Implementations§
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.