Struct pcg_rand::stream::SpecificSeqStream [−][src]
pub struct SpecificSeqStream<Itype> { /* fields omitted */ }
By default this stream provides the same stream as OneSeqStream. The advantage to this stream is it can be changed at runtime. This incurs an extra Itype of storage overhead.
Trait Implementations
impl Stream<u32> for SpecificSeqStream<u32>
[src]
impl Stream<u32> for SpecificSeqStream<u32>
fn build(seed: Option<&mut PcgSeeder<u32>>) -> Self
[src]
fn build(seed: Option<&mut PcgSeeder<u32>>) -> Self
fn set_stream(&mut self, stream_seq: u32)
[src]
fn set_stream(&mut self, stream_seq: u32)
fn increment(&self) -> u32
[src]
fn increment(&self) -> u32
fn get_stream(&self) -> u32
[src]
fn get_stream(&self) -> u32
impl Stream<u64> for SpecificSeqStream<u64>
[src]
impl Stream<u64> for SpecificSeqStream<u64>
fn build(seed: Option<&mut PcgSeeder<u64>>) -> Self
[src]
fn build(seed: Option<&mut PcgSeeder<u64>>) -> Self
fn set_stream(&mut self, stream_seq: u64)
[src]
fn set_stream(&mut self, stream_seq: u64)
fn increment(&self) -> u64
[src]
fn increment(&self) -> u64
fn get_stream(&self) -> u64
[src]
fn get_stream(&self) -> u64
impl Stream<u128> for SpecificSeqStream<u128>
[src]
impl Stream<u128> for SpecificSeqStream<u128>
Auto Trait Implementations
impl<Itype> Send for SpecificSeqStream<Itype> where
Itype: Send,
impl<Itype> Send for SpecificSeqStream<Itype> where
Itype: Send,
impl<Itype> Sync for SpecificSeqStream<Itype> where
Itype: Sync,
impl<Itype> Sync for SpecificSeqStream<Itype> where
Itype: Sync,