pub struct BlackrockPermutation { /* private fields */ }Expand description
A Feistel-network-based permutation over [0, range).
Maps each index to a unique pseudorandom output in the same range. Used to randomize scan order without storing the full permutation in memory.
Implementations§
Source§impl BlackrockPermutation
impl BlackrockPermutation
Auto Trait Implementations§
impl Freeze for BlackrockPermutation
impl RefUnwindSafe for BlackrockPermutation
impl Send for BlackrockPermutation
impl Sync for BlackrockPermutation
impl Unpin for BlackrockPermutation
impl UnsafeUnpin for BlackrockPermutation
impl UnwindSafe for BlackrockPermutation
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