Struct gdnative_doc::backend::Generator [−][src]
Holds the information necessary to generate the output files.
This is used by structures implementing Callbacks
.
Fields
resolver: &'a Resolver
Used to resolve links.
documentation: &'a Documentation
Holds the crate's documentation.
markdown_options: MarkdownOptions
Enabled markdown options
Implementations
impl<'a> Generator<'a>
[src]
pub fn generate_root_file(
&mut self,
extension: &str,
callbacks: &mut dyn Callbacks
) -> String
[src]
&mut self,
extension: &str,
callbacks: &mut dyn Callbacks
) -> String
Generate the root documentation file of the crate.
This is a decent default: it generate a description based on
pub fn generate_files(
&mut self,
callbacks: &mut dyn Callbacks
) -> Vec<(String, String)>
[src]
&mut self,
callbacks: &mut dyn Callbacks
) -> Vec<(String, String)>
Generate pairs of (class_name, file_content).
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Generator<'a>
[src]
impl<'a> Send for Generator<'a>
[src]
impl<'a> Sync for Generator<'a>
[src]
impl<'a> Unpin for Generator<'a>
[src]
impl<'a> UnwindSafe for Generator<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,