pub struct CycleWalkState {
pub half_bits: u32,
pub half_mask: u64,
pub inc: u64,
pub round_keys: [u64; 6],
}Expand description
Pre-computed Feistel state for the cycle_walk node. Built once at
construction from (range, seed, stream) via the multi-source
#[poly_const] setup; consumed read-only by every cycle and by
the compiled_u64 override’s captured closure.
Fields§
§half_bits: u32Number of bits per Feistel half (total domain is 2^(2*half_bits)).
half_mask: u64Bitmask for each half: (1 << half_bits) - 1.
inc: u64PCG-derived LCG increment, 2 * stream + 1. Published to
the JIT classifier as the third element of jit_constants.
round_keys: [u64; 6]Pre-computed round keys derived from seed and stream.
Trait Implementations§
impl PolydatSetup for CycleWalkState
Auto Trait Implementations§
impl Freeze for CycleWalkState
impl RefUnwindSafe for CycleWalkState
impl Send for CycleWalkState
impl Sync for CycleWalkState
impl Unpin for CycleWalkState
impl UnsafeUnpin for CycleWalkState
impl UnwindSafe for CycleWalkState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 more