Trait Seed

Source
pub trait Seed {
    // Required method
    fn to_value(self) -> u64;
}
Expand description

A trait for types that can be used as seeds for the RandomColor struct.

Required Methods§

Source

fn to_value(self) -> u64

Implementations on Foreign Types§

Source§

impl Seed for &str

Source§

fn to_value(self) -> u64

Source§

impl Seed for &String

Source§

fn to_value(self) -> u64

Source§

impl Seed for i32

Source§

fn to_value(self) -> u64

Source§

impl Seed for i64

Source§

fn to_value(self) -> u64

Source§

impl Seed for u32

Source§

fn to_value(self) -> u64

Source§

impl Seed for u64

Source§

fn to_value(self) -> u64

Source§

impl Seed for String

Source§

fn to_value(self) -> u64

Implementors§