[][src]Struct sophia_api::term::test::TestTerm

pub struct TestTerm<T> { /* fields omitted */ }

A naive implementation of TTerm, with no check whatsoever.

Implementations

impl<'a, T> TestTerm<T> where
    T: From<&'a str>, 
[src]

pub fn iri(value: &'a str) -> Self[src]

pub fn iri2(ns: &'a str, suffix: &'a str) -> Self[src]

pub fn bnode(value: &'a str) -> Self[src]

pub fn var(value: &'a str) -> Self[src]

pub fn lit_dt(value: &'a str, datatype: SimpleIri<'a>) -> Self[src]

pub fn lit_lang(value: &'a str, tag: &'a str) -> Self[src]

Trait Implementations

impl<T: Clone> Clone for TestTerm<T>[src]

impl<T: Copy> Copy for TestTerm<T>[src]

impl<T> CopyTerm for TestTerm<T> where
    T: for<'x> From<&'x str>, 
[src]

impl<T: Debug> Debug for TestTerm<T>[src]

impl<T> Display for TestTerm<T> where
    T: AsRef<str>, 
[src]

impl<T> Eq for TestTerm<T> where
    T: AsRef<str> + Sized
[src]

impl From<SimpleIri<'static>> for TestTerm<&'static str>[src]

impl<T> Hash for TestTerm<T> where
    T: AsRef<str>, 
[src]

impl<T: ?Sized, U> PartialEq<T> for TestTerm<U> where
    T: TTerm,
    U: AsRef<str>, 
[src]

impl<T: ?Sized, U> PartialOrd<T> for TestTerm<U> where
    T: TTerm,
    U: AsRef<str>, 
[src]

impl<T> TTerm for TestTerm<T> where
    T: AsRef<str>, 
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for TestTerm<T> where
    T: RefUnwindSafe

impl<T> Send for TestTerm<T> where
    T: Send

impl<T> Sync for TestTerm<T> where
    T: Sync

impl<T> Unpin for TestTerm<T> where
    T: Unpin

impl<T> UnwindSafe for TestTerm<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<U> TermMatcher for U where
    U: TTerm + ?Sized
[src]

type Term = U

Type of TTerm used internally by this matcher.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.