[][src]Struct jirachi::adjective_noun::Jirachi

pub struct Jirachi { /* fields omitted */ }

Jirachi wrapper for adjective-noun key generator

Implementations

impl Jirachi[src]

pub fn new() -> Result<Self>[src]

Returns a anyhow::Result containing a Jirachi instance

Example

use jirachi::adjective_noun::Jirachi;

let jirachi = Jirachi::new().unwrap();

Trait Implementations

impl Wishable for Jirachi[src]

pub fn wish(&mut self) -> Result<String>[src]

Returns a key created using random adjective-noun pairs

Example

use jirachi::adjective_noun::Jirachi;
use jirachi::Wishable;

let mut jirachi = Jirachi::new().unwrap();
let wish = jirachi.wish().unwrap();

Auto Trait Implementations

impl RefUnwindSafe for Jirachi

impl Send for Jirachi

impl Sync for Jirachi

impl Unpin for Jirachi

impl UnwindSafe for Jirachi

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, 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>,