Struct org_rust_exporter::Org
source · pub struct Org<'buf> { /* private fields */ }
Expand description
Org-Mode Content Exporter
This backend might seem a little unncessary, but it’s fairly useful as a sanity check for the parser.
It also carries out some modifications to the source such as prettifying tables and resolving macros
Trait Implementations§
source§impl<'buf> Exporter<'buf> for Org<'buf>
impl<'buf> Exporter<'buf> for Org<'buf>
source§fn export(input: &str) -> Result<String, Error>
fn export(input: &str) -> Result<String, Error>
Writes the AST generated from the input into a
String
.source§fn export_buf<'inp, T: Write>(input: &'inp str, buf: &'buf mut T) -> Result
fn export_buf<'inp, T: Write>(input: &'inp str, buf: &'buf mut T) -> Result
Writes the AST generated from the input into a buffer that implements
Write
.fn export_tree<'inp, T: Write>(parsed: &Parser<'_>, buf: &'buf mut T) -> Result
Auto Trait Implementations§
impl<'buf> Freeze for Org<'buf>
impl<'buf> !RefUnwindSafe for Org<'buf>
impl<'buf> !Send for Org<'buf>
impl<'buf> !Sync for Org<'buf>
impl<'buf> Unpin for Org<'buf>
impl<'buf> !UnwindSafe for Org<'buf>
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