pub struct RdfModelGenerator { /* private fields */ }
Expand description
Generator for the formal RDF representation of a module.
Trait Implementations§
Source§impl Debug for RdfModelGenerator
impl Debug for RdfModelGenerator
Source§impl Default for RdfModelGenerator
impl Default for RdfModelGenerator
Source§fn default() -> RdfModelGenerator
fn default() -> RdfModelGenerator
Returns the “default value” for a type. Read more
Source§impl Generator for RdfModelGenerator
impl Generator for RdfModelGenerator
type Options = RdfModelOptions
Source§fn generate_with_options<W>(
&mut self,
module: &Module,
cache: &impl ModuleStore,
options: Self::Options,
_: Option<PathBuf>,
writer: &mut W,
) -> Result<(), Error>
fn generate_with_options<W>( &mut self, module: &Module, cache: &impl ModuleStore, options: Self::Options, _: Option<PathBuf>, writer: &mut W, ) -> Result<(), Error>
Generate from the given module into the provided writer.
Source§fn generate<W>(
&mut self,
module: &Module,
cache: &impl ModuleStore,
path: Option<PathBuf>,
writer: &mut W,
) -> Result<(), Error>
fn generate<W>( &mut self, module: &Module, cache: &impl ModuleStore, path: Option<PathBuf>, writer: &mut W, ) -> Result<(), Error>
Generate from the given module into the provided writer. Note that this calls
generate_with_options
using Self::Options::default()
.Auto Trait Implementations§
impl Freeze for RdfModelGenerator
impl RefUnwindSafe for RdfModelGenerator
impl Send for RdfModelGenerator
impl Sync for RdfModelGenerator
impl Unpin for RdfModelGenerator
impl UnwindSafe for RdfModelGenerator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more