rdf-model 0.3.3

RDF.rs is a Rust framework for working with RDF knowledge graphs.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This is free and unencumbered software released into the public domain.

use crate::{Term, TermKind};

#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct AnyTerm;

impl Term for AnyTerm {
    fn kind(&self) -> TermKind {
        todo!() // FIXME
    }

    #[cfg(feature = "alloc")]
    fn value_str(&self) -> alloc::borrow::Cow<'_, str> {
        alloc::borrow::Cow::default()
    }
}