sophia_api::parser

Trait IntoParsable

Source
pub trait IntoParsable {
    type Target;

    // Required method
    fn into_parsable(self) -> Self::Target;
}
Expand description

Utility trait to support TripleParser::parse_str and QuadParser::parse_str.

Required Associated Types§

Source

type Target

The parsable type this type can be converted to.

Required Methods§

Source

fn into_parsable(self) -> Self::Target

Convert into the parsable target type

Implementations on Foreign Types§

Source§

impl<'a> IntoParsable for &'a str

Source§

type Target = &'a [u8]

Source§

fn into_parsable(self) -> Self::Target

Implementors§