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§fn clone(&self) -> RandomStreamState
fn clone(&self) -> RandomStreamState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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<RandomStreamState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomStreamState, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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