[][src]Trait sciter::value::FromValue

pub trait FromValue {
    pub fn from_value(v: &Value) -> Option<Self>
    where
        Self: Sized
; }

Helper trait

Required methods

pub fn from_value(v: &Value) -> Option<Self> where
    Self: Sized
[src]

Converts value to specified type.

Loading content...

Implementations on Foreign Types

impl FromValue for bool[src]

impl FromValue for i32[src]

impl FromValue for f64[src]

impl FromValue for Vec<u8>[src]

impl FromValue for String[src]

Loading content...

Implementors

impl FromValue for Element[src]

Get an Element object contained in the Value.

impl FromValue for Graphics[src]

Get an Graphics object contained in the Value.

impl FromValue for Image[src]

Get an Image object contained in the Value.

impl FromValue for Path[src]

Get a Path object contained in the Value.

impl FromValue for Text[src]

Get a Text object contained in the Value.

impl FromValue for Value[src]

Loading content...