pub struct MemoryFactory<E: Endianness, M: AsRef<[u32]>> { /* private fields */ }Implementations§
Source§impl<E: Endianness, T: AsRef<[u32]>> MemoryFactory<E, T>
impl<E: Endianness, T: AsRef<[u32]>> MemoryFactory<E, T>
Source§impl<E: Endianness> MemoryFactory<E, Box<[u32]>>
impl<E: Endianness> MemoryFactory<E, Box<[u32]>>
Source§impl<E: Endianness> MemoryFactory<E, MmapHelper<u32>>
impl<E: Endianness> MemoryFactory<E, MmapHelper<u32>>
Trait Implementations§
Source§impl<E: Clone + Endianness, M: Clone + AsRef<[u32]>> Clone for MemoryFactory<E, M>
impl<E: Clone + Endianness, M: Clone + AsRef<[u32]>> Clone for MemoryFactory<E, M>
Source§fn clone(&self) -> MemoryFactory<E, M>
fn clone(&self) -> MemoryFactory<E, M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E: Endianness, M: AsRef<[u32]>> CodesReaderFactory<E> for MemoryFactory<E, M>where
for<'a> MemBufReader<'a, E>: CodesRead<E>,
impl<E: Endianness, M: AsRef<[u32]>> CodesReaderFactory<E> for MemoryFactory<E, M>where
for<'a> MemBufReader<'a, E>: CodesRead<E>,
type CodesReader<'a> = BufBitReader<E, MemWordReader<u32, &'a [u32]>> where Self: 'a
Source§fn new_reader(&self) -> Self::CodesReader<'_>
fn new_reader(&self) -> Self::CodesReader<'_>
Creates a new code reader that can reference data owned by the factory.
Auto Trait Implementations§
impl<E, M> Freeze for MemoryFactory<E, M>where
M: Freeze,
impl<E, M> RefUnwindSafe for MemoryFactory<E, M>where
M: RefUnwindSafe,
E: RefUnwindSafe,
impl<E, M> Send for MemoryFactory<E, M>where
M: Send,
impl<E, M> Sync for MemoryFactory<E, M>where
M: Sync,
impl<E, M> Unpin for MemoryFactory<E, M>
impl<E, M> UnsafeUnpin for MemoryFactory<E, M>where
M: UnsafeUnpin,
impl<E, M> UnwindSafe for MemoryFactory<E, M>where
M: UnwindSafe,
E: 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
Source§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.