struct MemoryInner<'a> {
blocks: NonNull<Block>,
block_count: usize,
lane_length: usize,
phantom: PhantomData<&'a mut Block>,
}Expand description
Low-level pointer and metadata for an Argon2 memory region.
Fields§
§blocks: NonNull<Block>§block_count: usize§lane_length: usize§phantom: PhantomData<&'a mut Block>Implementations§
Trait Implementations§
Source§impl<'a> Clone for MemoryInner<'a>
impl<'a> Clone for MemoryInner<'a>
Source§fn clone(&self) -> MemoryInner<'a>
fn clone(&self) -> MemoryInner<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for MemoryInner<'a>
impl Send for MemoryInner<'_>
impl Sync for MemoryInner<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryInner<'a>
impl<'a> RefUnwindSafe for MemoryInner<'a>
impl<'a> Unpin for MemoryInner<'a>
impl<'a> UnsafeUnpin for MemoryInner<'a>
impl<'a> !UnwindSafe for MemoryInner<'a>
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