pub enum AnnotationFormat {
Djot,
Plain,
Org,
}Expand description
Markup format for annotation text.
Variants§
Djot
Parse annotation as djot inline markup (default).
Plain
Treat annotation as plain text with no markup interpretation.
Org
Parse annotation as org-mode markup.
Trait Implementations§
Source§impl Clone for AnnotationFormat
impl Clone for AnnotationFormat
Source§fn clone(&self) -> AnnotationFormat
fn clone(&self) -> AnnotationFormat
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 moreSource§impl Debug for AnnotationFormat
impl Debug for AnnotationFormat
Source§impl Default for AnnotationFormat
impl Default for AnnotationFormat
Source§fn default() -> AnnotationFormat
fn default() -> AnnotationFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnnotationFormat
impl<'de> Deserialize<'de> for AnnotationFormat
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
Auto Trait Implementations§
impl Freeze for AnnotationFormat
impl RefUnwindSafe for AnnotationFormat
impl Send for AnnotationFormat
impl Sync for AnnotationFormat
impl Unpin for AnnotationFormat
impl UnsafeUnpin for AnnotationFormat
impl UnwindSafe for AnnotationFormat
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