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
.
Implementations on Foreign Types
impl<T> ToValue for Option<T> where
T: SetValueOptional,
[src]
impl<T> ToValue for Option<T> where
T: SetValueOptional,
[src]Implementors
Loading content...