Enum tex_parser::ast::SpecialMacro [−][src]
Variants
Verb(Verb)
VerbatimEnvironment(VerbatimEnvironment)
DisplayMath(DisplayMath)
ParenthesizedInlineMath(ParenthesizedInlineMath)
MathEnvironment(MathEnvironment)
Environment(Environment)
Implementations
impl SpecialMacro
[src]
pub fn verb(&self) -> Option<&Verb>
[src]
pub fn verb_mut(&mut self) -> Option<&mut Verb>
[src]
pub fn into_verb(self) -> Option<Verb>
[src]
pub fn verbatim_environment(&self) -> Option<&VerbatimEnvironment>
[src]
pub fn verbatim_environment_mut(&mut self) -> Option<&mut VerbatimEnvironment>
[src]
pub fn into_verbatim_environment(self) -> Option<VerbatimEnvironment>
[src]
pub fn display_math(&self) -> Option<&DisplayMath>
[src]
pub fn display_math_mut(&mut self) -> Option<&mut DisplayMath>
[src]
pub fn into_display_math(self) -> Option<DisplayMath>
[src]
pub fn parenthesized_inline_math(&self) -> Option<&ParenthesizedInlineMath>
[src]
pub fn parenthesized_inline_math_mut(
&mut self
) -> Option<&mut ParenthesizedInlineMath>
[src]
&mut self
) -> Option<&mut ParenthesizedInlineMath>
pub fn into_parenthesized_inline_math(self) -> Option<ParenthesizedInlineMath>
[src]
pub fn math_environment(&self) -> Option<&MathEnvironment>
[src]
pub fn math_environment_mut(&mut self) -> Option<&mut MathEnvironment>
[src]
pub fn into_math_environment(self) -> Option<MathEnvironment>
[src]
pub fn environment(&self) -> Option<&Environment>
[src]
pub fn environment_mut(&mut self) -> Option<&mut Environment>
[src]
pub fn into_environment(self) -> Option<Environment>
[src]
Trait Implementations
impl Clone for SpecialMacro
[src]
fn clone(&self) -> SpecialMacro
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SpecialMacro
[src]
impl GetPos for SpecialMacro
[src]
impl Serialize for SpecialMacro
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpecialMacro
impl Send for SpecialMacro
impl Sync for SpecialMacro
impl Unpin for SpecialMacro
impl UnwindSafe for SpecialMacro
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,