Trait tycho::ElementUtil [−][src]
Required methods
fn unit() -> Self
[src]
fn value<T: Into<Value>>(value: T) -> Self
[src]
fn option<T: Into<Element>>(inner: Option<T>) -> Self
[src]
fn none() -> Self
[src]
fn some<T: Into<Element>>(inner: T) -> Self
[src]
fn array<A: Into<TychoArray>>(array: A) -> Self
[src]
fn list<A: Into<TychoList<T>>, T: Into<Value>>(array: A) -> Self
[src]
fn structure(structure: TychoStruct) -> Self
[src]
fn map<K: Into<Value> + Hash + Eq, V: Into<Element>>(
map: TychoMap<K, V>
) -> Self
[src]
map: TychoMap<K, V>
) -> Self
fn variant<V: Into<Element>>(name: &str, value: V) -> Self
[src]
Implementors
impl ElementUtil for Element
[src]
fn unit() -> Self
[src]
fn value<T: Into<Value>>(value: T) -> Self
[src]
fn option<T: Into<Element>>(inner: Option<T>) -> Self
[src]
fn none() -> Self
[src]
fn some<T: Into<Element>>(inner: T) -> Self
[src]
fn array<A: Into<TychoArray>>(array: A) -> Self
[src]
fn list<A: Into<TychoList<T>>, T: Into<Value>>(array: A) -> Self
[src]
fn structure(structure: TychoStruct) -> Self
[src]
fn map<K: Into<Value> + Hash + Eq, V: Into<Element>>(
map: TychoMap<K, V>
) -> Self
[src]
map: TychoMap<K, V>
) -> Self