Trait nock::FromNoun [] [src]

pub trait FromNoun: Sized {
    fn from_noun(n: &Noun) -> Result<Self, NockError>;
}

A trait for types that can be instantiated from a Nock noun.

Required Methods

Try to convert a noun to an instance of the type.

Implementors