pub enum SpecialMacro {
Verb(Verb),
VerbatimEnvironment(VerbatimEnvironment),
DisplayMath(DisplayMath),
ParenthesizedInlineMath(ParenthesizedInlineMath),
MathEnvironment(MathEnvironment),
Environment(Environment),
}
Variants§
Verb(Verb)
VerbatimEnvironment(VerbatimEnvironment)
DisplayMath(DisplayMath)
ParenthesizedInlineMath(ParenthesizedInlineMath)
MathEnvironment(MathEnvironment)
Environment(Environment)
Implementations§
Source§impl SpecialMacro
impl SpecialMacro
pub fn verb(&self) -> Option<&Verb>
pub fn verb_mut(&mut self) -> Option<&mut Verb>
pub fn into_verb(self) -> Option<Verb>
pub fn verbatim_environment(&self) -> Option<&VerbatimEnvironment>
pub fn verbatim_environment_mut(&mut self) -> Option<&mut VerbatimEnvironment>
pub fn into_verbatim_environment(self) -> Option<VerbatimEnvironment>
pub fn display_math(&self) -> Option<&DisplayMath>
pub fn display_math_mut(&mut self) -> Option<&mut DisplayMath>
pub fn into_display_math(self) -> Option<DisplayMath>
pub fn parenthesized_inline_math(&self) -> Option<&ParenthesizedInlineMath>
pub fn parenthesized_inline_math_mut( &mut self, ) -> Option<&mut ParenthesizedInlineMath>
pub fn into_parenthesized_inline_math(self) -> Option<ParenthesizedInlineMath>
pub fn math_environment(&self) -> Option<&MathEnvironment>
pub fn math_environment_mut(&mut self) -> Option<&mut MathEnvironment>
pub fn into_math_environment(self) -> Option<MathEnvironment>
pub fn environment(&self) -> Option<&Environment>
pub fn environment_mut(&mut self) -> Option<&mut Environment>
pub fn into_environment(self) -> Option<Environment>
Trait Implementations§
Source§impl Clone for SpecialMacro
impl Clone for SpecialMacro
Source§fn clone(&self) -> SpecialMacro
fn clone(&self) -> SpecialMacro
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 SpecialMacro
impl Debug for SpecialMacro
Auto Trait Implementations§
impl Freeze for SpecialMacro
impl RefUnwindSafe for SpecialMacro
impl Send for SpecialMacro
impl Sync for SpecialMacro
impl Unpin for SpecialMacro
impl UnwindSafe for SpecialMacro
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