pub struct InfoFormat {}
Expand description
Used to produce an output yml file containing all sources and metadata in a single file structured like the content folder.
Trait Implementations§
Source§impl Clone for InfoFormat
impl Clone for InfoFormat
Source§fn clone(&self) -> InfoFormat
fn clone(&self) -> InfoFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InfoFormat
impl Debug for InfoFormat
Source§impl<'de> Deserialize<'de> for InfoFormat
impl<'de> Deserialize<'de> for InfoFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Format for InfoFormat
impl Format for InfoFormat
Source§fn template_prefix(&self) -> &str
fn template_prefix(&self) -> &str
Template format name. Useful if templates are reused across formats as is the case for
notebooks which use markdown.
Source§fn name(&self) -> &str
fn name(&self) -> &str
Format name that is used in status messages, build output and in the configuration file.
Source§fn no_parse(&self) -> bool
fn no_parse(&self) -> bool
Return true if the format should not be parsed. This may be removed in the future and is
currently only used for the info format which exports all parsed contents in a project.
Source§fn renderer(&self) -> Box<dyn DocumentRenderer>
fn renderer(&self) -> Box<dyn DocumentRenderer>
Return a renderer instance. Currently does not allow for configuration.
Source§fn include_resources(&self) -> bool
fn include_resources(&self) -> bool
Determines whether non-source files should be copied to
fn layout(&self) -> Option<String>
Auto Trait Implementations§
impl Freeze for InfoFormat
impl RefUnwindSafe for InfoFormat
impl Send for InfoFormat
impl Sync for InfoFormat
impl Unpin for InfoFormat
impl UnwindSafe for InfoFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, R> RenderElement<Vec<R>> for Twhere
T: RenderElement<R>,
impl<T, R> RenderElement<Vec<R>> for Twhere
T: RenderElement<R>,
Source§fn render(
&mut self,
elem: &Vec<R>,
ctx: &RenderContext<'_>,
buf: impl Write,
) -> Result<(), Error>
fn render( &mut self, elem: &Vec<R>, ctx: &RenderContext<'_>, buf: impl Write, ) -> Result<(), Error>
Render the element to a buffer
Source§fn render_inner(&mut self, elem: &T, ctx: &RenderContext<'_>) -> Result<CowStr>
fn render_inner(&mut self, elem: &T, ctx: &RenderContext<'_>) -> Result<CowStr>
Convenience function for creating a buffer, rendering the element into the buffer, and
returning the result as a string. This is useful when an inner element needs to be rendered
first to be used in an outer element, hence the name.
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant
trait object to &mut dyn Any
.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant
trait object to Box<dyn Any>
.