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

pub trait ConvertibleTerm: TTerm {
    fn try_converted<T>(&self) -> Result<T>
    where
        T: TryConvertTerm,
        <T as FromStr>::Err: Error + 'static
; }

This trait is to TryConvertTerm what Into is to From. It is automatically implemented by any implementation of TTerm.

Required methods

fn try_converted<T>(&self) -> Result<T> where
    T: TryConvertTerm,
    <T as FromStr>::Err: Error + 'static, 

Try to convert this term into a native type

Loading content...

Implementors

impl<T: ?Sized> ConvertibleTerm for T where
    T: TTerm
[src]

Loading content...