pub enum MdArgPiece {
Text(String),
Macro(String),
}Expand description
One piece of a structural Rd-macro argument fed to
resolve_md_inline_pieces: either raw prose Text (markdown-lexed) or a
pre-parsed nested Macro (its raw \name{…}/\name source, kept opaque).
Variants§
Text(String)
Raw prose text, lexed as a markdown inline fragment.
Macro(String)
A nested Rd macro’s raw source (\strong{y}, \tab, \cr, …), emitted as
one opaque RoxygenRdMacro token so emphasis/links span across it.
Auto Trait Implementations§
impl Freeze for MdArgPiece
impl RefUnwindSafe for MdArgPiece
impl Send for MdArgPiece
impl Sync for MdArgPiece
impl Unpin for MdArgPiece
impl UnsafeUnpin for MdArgPiece
impl UnwindSafe for MdArgPiece
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