#[non_exhaustive]pub struct KeccakState {
pub s: [u64; 25],
pub pos: usize,
}Expand description
Keccak state for absorbing data
The lanes hold data derived from whatever was absorbed, which may be
a seed or key, so Debug redacts them and shows only pos.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.s: [u64; 25]State array for Keccak
pos: usizePosition in the state array
Implementations§
Trait Implementations§
Source§impl Clone for KeccakState
impl Clone for KeccakState
Source§fn clone(&self) -> KeccakState
fn clone(&self) -> KeccakState
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 Copy for KeccakState
Source§impl Debug for KeccakState
impl Debug for KeccakState
Source§impl Default for KeccakState
impl Default for KeccakState
Source§fn default() -> KeccakState
fn default() -> KeccakState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KeccakState
impl RefUnwindSafe for KeccakState
impl Send for KeccakState
impl Sync for KeccakState
impl Unpin for KeccakState
impl UnsafeUnpin for KeccakState
impl UnwindSafe for KeccakState
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