Trait iterative_methods::YamlDataType[][src]

pub trait YamlDataType {
    fn create_yaml_object(&self) -> Yaml;
}
Expand description

Define a trait object for converting to YAML objects.

Required methods

Implementations on Foreign Types

impl<T> YamlDataType for &T where
    T: YamlDataType
[src]

Allow for references.

impl YamlDataType for i64[src]

Implement for basic scalar types.

impl YamlDataType for f64[src]

impl YamlDataType for String[src]

impl YamlDataType for Yaml[src]

impl<T> YamlDataType for Vec<T> where
    T: YamlDataType
[src]

This allows recursive wrapping of YamlDataType in Vec, e.g. Vec<Vec<Vec>>.

Implementors

impl<T> YamlDataType for Numbered<T> where
    T: YamlDataType
[src]

impl<T> YamlDataType for WeightedDatum<T> where
    T: YamlDataType
[src]

impl<T, A> YamlDataType for AnnotatedResult<T, A> where
    T: YamlDataType,
    A: YamlDataType
[src]