[][src]Enum artichoke_backend::extn::core::random::Seed

pub enum Seed {
    New(Int),
    None,
}

Variants

New(Int)
None

Implementations

impl Seed[src]

#[must_use]pub const fn new() -> Self[src]

Construct a an empty seed.

#[must_use]pub fn to_mt_seed(self) -> Option<[u32; 4]>[src]

Trait Implementations

impl Clone for Seed[src]

impl Copy for Seed[src]

impl Debug for Seed[src]

impl Default for Seed[src]

impl Eq for Seed[src]

impl From<i64> for Seed[src]

impl Hash for Seed[src]

impl Ord for Seed[src]

impl PartialEq<Seed> for Seed[src]

impl PartialOrd<Seed> for Seed[src]

impl StructuralEq for Seed[src]

impl StructuralPartialEq for Seed[src]

impl TryConvertMut<Option<Value>, Seed> for Artichoke[src]

type Error = TypeError

Error type for failed conversions.

impl TryConvertMut<Value, Seed> for Artichoke[src]

type Error = TypeError

Error type for failed conversions.

Auto Trait Implementations

impl RefUnwindSafe for Seed[src]

impl Send for Seed[src]

impl Sync for Seed[src]

impl Unpin for Seed[src]

impl UnwindSafe for Seed[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]