//! Seeding from the system clock.
use SystemTime;
use Rand;
/// Derives a seed from the system clock by `XOR`ing the upper 64 bits of the nanosecond timestamp
/// with the lower 64 bits.
///
/// # Examples
/// ```
/// use tinyrand::{StdRand, Rand, Seeded};
/// use tinyrand_std::ClockSeed;
/// let mut seed = ClockSeed::default();
///
/// let mut rand = StdRand::seed(seed.next_u64());
/// println!("{}", rand.next_u64());
/// ```
;