[][src]Trait rant::ToRant

pub trait ToRant {
    fn to_rant(self) -> Result<RantValue, ValueError>;
}

Enables conversion from a native type to a RantValue.

Required methods

fn to_rant(self) -> Result<RantValue, ValueError>

Convert to a RantValue.

Loading content...

Implementations on Foreign Types

impl ToRant for u8[src]

impl ToRant for i8[src]

impl ToRant for u16[src]

impl ToRant for i16[src]

impl ToRant for u32[src]

impl ToRant for i32[src]

impl ToRant for u64[src]

impl ToRant for i64[src]

impl ToRant for isize[src]

impl ToRant for usize[src]

impl ToRant for f32[src]

impl ToRant for f64[src]

impl ToRant for String[src]

impl ToRant for &'static str[src]

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

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

Loading content...

Implementors

Loading content...