Trait ux::prelude::ToValue[][src]

pub trait ToValue {
    pub fn to_value(&self) -> Value;
pub fn to_value_type(&self) -> Type; }

Converts to Value.

Required methods

pub fn to_value(&self) -> Value[src]

Returns a Value clone of self.

pub fn to_value_type(&self) -> Type[src]

Returns the type identifer of self.

This is the type of the value to be returned by to_value.

Loading content...

Implementations on Foreign Types

impl ToValue for SendValue[src]

impl ToValue for Value[src]

impl<T> ToValue for Option<T> where
    T: SetValueOptional
[src]

Loading content...

Implementors

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

Loading content...