[][src]Trait rant::FromRant

pub trait FromRant: Sized {
    pub fn from_rant(val: RantValue) -> Result<Self, ValueError>;
pub fn is_rant_optional() -> bool; }

Enables conversion from a RantValue to a native type.

Required methods

pub fn from_rant(val: RantValue) -> Result<Self, ValueError>[src]

Convert from a RantValue.

pub fn is_rant_optional() -> bool[src]

Returns true if the type can be used to represent an optional Rant parameter.

Loading content...

Implementations on Foreign Types

impl FromRant for u8[src]

impl FromRant for i8[src]

impl FromRant for u16[src]

impl FromRant for i16[src]

impl FromRant for u32[src]

impl FromRant for i32[src]

impl FromRant for u64[src]

impl FromRant for i64[src]

impl FromRant for isize[src]

impl FromRant for usize[src]

impl FromRant for bool[src]

impl FromRant for f32[src]

impl FromRant for f64[src]

impl FromRant for String[src]

impl<T: FromRant> FromRant for Option<T>[src]

impl<T: FromRant> FromRant for Vec<T>[src]

Loading content...

Implementors

impl FromRant for RantValue[src]

impl FromRant for RantEmpty[src]

impl FromRant for RantFunctionRef[src]

impl FromRant for RantListRef[src]

impl FromRant for RantMapRef[src]

Loading content...