[−][src]Struct pcg_rand::stream::SpecificSeqStream
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]
fn build(seed: Option<&mut PcgSeeder<u32>>) -> Self
[src]
fn set_stream(&mut self, stream_seq: u32)
[src]
fn increment(&self) -> u32
[src]
fn get_stream(&self) -> u32
[src]
impl Stream<u64> for SpecificSeqStream<u64>
[src]
fn build(seed: Option<&mut PcgSeeder<u64>>) -> Self
[src]
fn set_stream(&mut self, stream_seq: u64)
[src]
fn increment(&self) -> u64
[src]
fn get_stream(&self) -> u64
[src]
impl Stream<u128> for SpecificSeqStream<u128>
[src]
Auto Trait Implementations
impl<Itype> Send for SpecificSeqStream<Itype> where
Itype: Send,
Itype: Send,
impl<Itype> Sync for SpecificSeqStream<Itype> where
Itype: Sync,
Itype: Sync,
impl<Itype> Unpin for SpecificSeqStream<Itype> where
Itype: Unpin,
Itype: Unpin,
impl<Itype> UnwindSafe for SpecificSeqStream<Itype> where
Itype: UnwindSafe,
Itype: UnwindSafe,
impl<Itype> RefUnwindSafe for SpecificSeqStream<Itype> where
Itype: RefUnwindSafe,
Itype: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,