pub enum Construct {
Html,
Math,
FrontMatter,
Nesting,
Extension,
}Expand description
What a page is shown the source of instead of a drawing (D22, D24).
Variants§
Html
Raw HTML, a block or a tag.
Math
A formula between dollar signs.
FrontMatter
The metadata between two --- lines at the top of a document.
Nesting
A container deeper than NESTING_MAX levels, with all it holds.
Extension
A node of a comrak extension this grammar does not turn on; it appears only if the grammar’s options change.
Trait Implementations§
impl Copy for Construct
Source§impl<'de> Deserialize<'de> for Construct
impl<'de> Deserialize<'de> for Construct
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
impl Eq for Construct
impl StructuralPartialEq for Construct
Auto Trait Implementations§
impl Freeze for Construct
impl RefUnwindSafe for Construct
impl Send for Construct
impl Sync for Construct
impl Unpin for Construct
impl UnsafeUnpin for Construct
impl UnwindSafe for Construct
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