pub struct Seed512(pub [u8; 64]);
Expand description
512-bit seed for a generator.
This wrapper is necessary, because some traits required for a seed are not implemented on large arrays.
Tuple Fields§
§0: [u8; 64]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Seed512
impl RefUnwindSafe for Seed512
impl Send for Seed512
impl Sync for Seed512
impl Unpin for Seed512
impl UnwindSafe for Seed512
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)