#[repr(C)]pub enum TwigFormat {
Djot = 1,
Markdown = 2,
Xml = 3,
Html = 4,
Asciidoc = 5,
}Variants§
Djot = 1
Markdown = 2
Xml = 3
Html = 4
Asciidoc = 5
Parses, renders, serializes and edits. The link, image, footnote and
table gestures report TWIG_STATUS_UNSUPPORTED_FORMAT over an
AsciiDoc document (their AsciiDoc spellings have a shape the gesture
algorithms cannot write); every other gesture works. What the parser
leaves unmodelled survives as literal source text.
Trait Implementations§
Source§impl Clone for TwigFormat
impl Clone for TwigFormat
Source§fn clone(&self) -> TwigFormat
fn clone(&self) -> TwigFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TwigFormat
Source§impl Debug for TwigFormat
impl Debug for TwigFormat
impl Eq for TwigFormat
Source§impl PartialEq for TwigFormat
impl PartialEq for TwigFormat
impl StructuralPartialEq for TwigFormat
Auto Trait Implementations§
impl Freeze for TwigFormat
impl RefUnwindSafe for TwigFormat
impl Send for TwigFormat
impl Sync for TwigFormat
impl Unpin for TwigFormat
impl UnsafeUnpin for TwigFormat
impl UnwindSafe for TwigFormat
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