pub struct RandomStreamState {
pub key: RandomStreamKey,
pub algorithm: RandomAlgorithm,
pub seed: u64,
pub position: u64,
pub generator_state: u64,
}Fields§
§key: RandomStreamKey§algorithm: RandomAlgorithm§seed: u64§position: u64§generator_state: u64Trait Implementations§
Source§impl Clone for RandomStreamState
impl Clone for RandomStreamState
Source§impl Debug for RandomStreamState
impl Debug for RandomStreamState
Source§impl<'de> Deserialize<'de> for RandomStreamState
impl<'de> Deserialize<'de> for RandomStreamState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RandomStreamState
Source§impl PartialEq for RandomStreamState
impl PartialEq for RandomStreamState
Source§impl Serialize for RandomStreamState
impl Serialize for RandomStreamState
impl StructuralPartialEq for RandomStreamState
Auto Trait Implementations§
impl Freeze for RandomStreamState
impl RefUnwindSafe for RandomStreamState
impl Send for RandomStreamState
impl Sync for RandomStreamState
impl Unpin for RandomStreamState
impl UnsafeUnpin for RandomStreamState
impl UnwindSafe for RandomStreamState
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