[−][src]Struct rocco::Docco
Implementations
impl Docco
[src]
pub fn new(source: PathBuf, output: Option<PathBuf>) -> Result<Self, Error>
[src]
pub fn render(&self) -> Result<(), Error>
[src]
pub fn parse(&mut self) -> Result<(), Error>
[src]
Trait Implementations
impl Content for Docco
[src]
fn capacity_hint(&self, tpl: &Template<'_>) -> usize
[src]
fn render_section<C, E>(
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), E::Error> where
C: ContentSequence,
E: Encoder,
[src]
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), E::Error> where
C: ContentSequence,
E: Encoder,
fn render_field_escaped<E>(
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error> where
E: Encoder,
[src]
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error> where
E: Encoder,
fn render_field_unescaped<E>(
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error> where
E: Encoder,
[src]
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error> where
E: Encoder,
fn render_field_section<P, E>(
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error> where
P: ContentSequence,
E: Encoder,
[src]
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error> where
P: ContentSequence,
E: Encoder,
fn render_field_inverse<P, E>(
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error> where
P: ContentSequence,
E: Encoder,
[src]
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error> where
P: ContentSequence,
E: Encoder,
fn is_truthy(&self) -> bool
[src]
fn render_escaped<E>(
&self,
_encoder: &mut E
) -> Result<(), <E as Encoder>::Error> where
E: Encoder,
[src]
&self,
_encoder: &mut E
) -> Result<(), <E as Encoder>::Error> where
E: Encoder,
fn render_unescaped<E>(
&self,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error> where
E: Encoder,
[src]
&self,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error> where
E: Encoder,
fn render_cmark<E>(&self, encoder: &mut E) -> Result<(), <E as Encoder>::Error> where
E: Encoder,
[src]
E: Encoder,
fn render_inverse<C, E>(
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error> where
C: ContentSequence,
E: Encoder,
[src]
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error> where
C: ContentSequence,
E: Encoder,
Auto Trait Implementations
impl RefUnwindSafe for Docco
impl Send for Docco
impl Sync for Docco
impl Unpin for Docco
impl UnwindSafe for Docco
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>,