pub trait RdfDisplay {
// Required method
fn rdf_fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
// Provided method
fn rdf_display(&self) -> RdfDisplayed<&Self> { ... }
}Expand description
Display method for RDF syntax elements.
Required Methods§
Provided Methods§
Sourcefn rdf_display(&self) -> RdfDisplayed<&Self>
fn rdf_display(&self) -> RdfDisplayed<&Self>
Prepare the value to be formatted as an RDF syntax element.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl RdfDisplay for String
impl RdfDisplay for String
Source§impl<'c, T, C> RdfDisplay for Contextual<T, &'c C>where
T: RdfDisplayWithContext<C>,
C: ?Sized,
Available on crate feature contextual only.
impl<'c, T, C> RdfDisplay for Contextual<T, &'c C>where
T: RdfDisplayWithContext<C>,
C: ?Sized,
Available on crate feature
contextual only.Source§impl<'c, T, C> RdfDisplay for Contextual<T, &'c mut C>where
T: RdfDisplayWithContext<C>,
C: ?Sized,
Available on crate feature contextual only.
impl<'c, T, C> RdfDisplay for Contextual<T, &'c mut C>where
T: RdfDisplayWithContext<C>,
C: ?Sized,
Available on crate feature
contextual only.