[][src]Trait sophia_term::literal::convert::TryConvertTerm

pub trait TryConvertTerm: DataType + FromStr where
    Self::Err: Error + 'static, 
{ fn try_convert<T: ?Sized>(term: &T) -> Result<Self>
    where
        T: TTerm
, { ... } }

A native datatype that can be constructed from an RDF literal.

Provided methods

fn try_convert<T: ?Sized>(term: &T) -> Result<Self> where
    T: TTerm

Try to convert any term to this native type.

Loading content...

Implementations on Foreign Types

impl TryConvertTerm for u8[src]

impl TryConvertTerm for u16[src]

impl TryConvertTerm for u32[src]

impl TryConvertTerm for u64[src]

impl TryConvertTerm for i8[src]

impl TryConvertTerm for i16[src]

impl TryConvertTerm for i32[src]

impl TryConvertTerm for i64[src]

impl TryConvertTerm for f32[src]

impl TryConvertTerm for f64[src]

impl TryConvertTerm for bool[src]

impl TryConvertTerm for String[src]

Loading content...

Implementors

Loading content...