#[non_exhaustive]pub enum InlineMacro {
}Expand description
An InlineMacro represents an inline macro in a document.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Footnote(Footnote)
Icon(Icon)
Image(Box<Image>)
Keyboard(Keyboard)
Button(Button)
Menu(Menu)
Url(Url)
Link(Link)
Mailto(Mailto)
Autolink(Autolink)
CrossReference(CrossReference)
Pass(Pass)
Stem(Stem)
Trait Implementations§
Source§impl Clone for InlineMacro
impl Clone for InlineMacro
Source§fn clone(&self) -> InlineMacro
fn clone(&self) -> InlineMacro
Returns a duplicate of the value. Read more
1.0.0 · 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 InlineMacro
impl Debug for InlineMacro
Source§impl PartialEq for InlineMacro
impl PartialEq for InlineMacro
Source§impl Serialize for InlineMacro
impl Serialize for InlineMacro
impl StructuralPartialEq for InlineMacro
Auto Trait Implementations§
impl Freeze for InlineMacro
impl RefUnwindSafe for InlineMacro
impl Send for InlineMacro
impl Sync for InlineMacro
impl Unpin for InlineMacro
impl UnwindSafe for InlineMacro
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