[][src]Trait rant::FromRant

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

Enables conversion from a RantValue to a native type.

Required methods

fn from_rant(val: RantValue) -> Result<Self, ValueError>

Convert from a RantValue.

fn is_rant_optional() -> bool

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 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

Loading content...