Struct pcg_rand::stream::OneSeqStream [−][src]
This sequence stream defines constants as provided by the PCG paper.
This struct is implemented with a macro to provide values for each
Stream
Trait Implementations
impl Stream<u128> for OneSeqStream
[src]
const SERIALIZER_ID: &'static str
[src]
fn build(_: Option<u128>) -> Self
[src]
fn increment(&self) -> u128
[src]
fn get_stream(&self) -> u128
[src]
fn set_stream(&mut self, _stream_seq: Itype)
[src]
impl Stream<u32> for OneSeqStream
[src]
const SERIALIZER_ID: &'static str
[src]
fn build(_: Option<u32>) -> Self
[src]
fn increment(&self) -> u32
[src]
fn get_stream(&self) -> u32
[src]
fn set_stream(&mut self, _stream_seq: Itype)
[src]
impl Stream<u64> for OneSeqStream
[src]
const SERIALIZER_ID: &'static str
[src]
fn build(_: Option<u64>) -> Self
[src]
fn increment(&self) -> u64
[src]
fn get_stream(&self) -> u64
[src]
fn set_stream(&mut self, _stream_seq: Itype)
[src]
Auto Trait Implementations
impl RefUnwindSafe for OneSeqStream
[src]
impl Send for OneSeqStream
[src]
impl Sync for OneSeqStream
[src]
impl Unpin for OneSeqStream
[src]
impl UnwindSafe for OneSeqStream
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,