[][src]Trait graphql_parser::query::Text

pub trait Text<'a>: 'a {
    type Value: 'a + From<&'a str> + AsRef<str> + Borrow<str> + PartialEq + Eq + PartialOrd + Ord + Debug + Clone;
}

Text abstracts over types that hold a string value. It is used to make the AST generic over the string type.

Associated Types

type Value: 'a + From<&'a str> + AsRef<str> + Borrow<str> + PartialEq + Eq + PartialOrd + Ord + Debug + Clone

Loading content...

Implementations on Foreign Types

impl<'a> Text<'a> for &'a str[src]

type Value = Self

impl<'a> Text<'a> for String[src]

type Value = String

impl<'a> Text<'a> for Cow<'a, str>[src]

type Value = Self

Loading content...

Implementors

Loading content...