[][src]Trait druid::ValueType

pub trait ValueType: Sized + Clone + Into<Value> {
    pub fn try_from_value(v: &Value) -> Result<Self, ValueTypeError>;
}

Values which can be stored in an environment.

Required methods

pub fn try_from_value(v: &Value) -> Result<Self, ValueTypeError>[src]

Attempt to convert the generic Value into this type.

Loading content...

Implementations on Foreign Types

impl ValueType for f64[src]

impl ValueType for bool[src]

impl ValueType for u64[src]

Loading content...

Implementors

impl ValueType for Color[src]

impl ValueType for Insets[src]

impl ValueType for Point[src]

impl ValueType for Rect[src]

impl ValueType for Size[src]

impl ValueType for FontDescriptor[src]

impl ValueType for ArcStr[src]

Loading content...