Trait nock::ToNoun
[−]
[src]
pub trait ToNoun { fn to_noun(&self) -> Noun; }
Trait for types that can convert themselves to a noun.
Required Methods
Implementors
impl<T> ToNoun for T where
T: DigitSlice,impl ToNoun for Noun
impl ToNoun for Vec<u8>
impl<T> ToNoun for (T,) where
T: ToNoun,impl<T, U> ToNoun for (T, U) where
T: ToNoun,
U: ToNoun,impl<T1, T2, T3> ToNoun for (T1, T2, T3) where
T1: ToNoun,
T2: ToNoun,
T3: ToNoun,impl ToNoun for str
impl ToNoun for bool