[−][src]Trait sml::ToSmall
Types that implement the ToSmall trait can be converted to the Small
.
Required methods
fn to_small(&self, key: &str) -> Result<Small, SmallError>
Implementations on Foreign Types
impl ToSmall for String
[src]
impl ToSmall for u32
[src]
impl<T> ToSmall for Vec<T> where
T: ToSmall,
[src]
T: ToSmall,
Convert a Vec
of some data-structure into a series of lines in a Small
-formatted string.
impl<T> ToSmall for Option<T> where
T: ToSmall,
[src]
T: ToSmall,
If Some(T)
returns a Small
- formatted string. If None
returns nothing.