Enum org_rust_parser::object::LatexFragment  
source · pub enum LatexFragment<'a> {
    Command {
        name: &'a str,
        contents: Option<&'a str>,
    },
    Display(&'a str),
    Inline(&'a str),
}Variants§
Trait Implementations§
source§impl<'a> Clone for LatexFragment<'a>
 
impl<'a> Clone for LatexFragment<'a>
source§fn clone(&self) -> LatexFragment<'a>
 
fn clone(&self) -> LatexFragment<'a>
Returns a copy 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<'a> Debug for LatexFragment<'a>
 
impl<'a> Debug for LatexFragment<'a>
source§impl<'a> From<LatexFragment<'a>> for Expr<'a>
 
impl<'a> From<LatexFragment<'a>> for Expr<'a>
source§fn from(original: LatexFragment<'a>) -> Expr<'a>
 
fn from(original: LatexFragment<'a>) -> Expr<'a>
Converts to this type from the input type.
source§impl<'a> PartialEq for LatexFragment<'a>
 
impl<'a> PartialEq for LatexFragment<'a>
source§fn eq(&self, other: &LatexFragment<'a>) -> bool
 
fn eq(&self, other: &LatexFragment<'a>) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl<'a> Copy for LatexFragment<'a>
impl<'a> Eq for LatexFragment<'a>
impl<'a> StructuralPartialEq for LatexFragment<'a>
Auto Trait Implementations§
impl<'a> Freeze for LatexFragment<'a>
impl<'a> RefUnwindSafe for LatexFragment<'a>
impl<'a> Send for LatexFragment<'a>
impl<'a> Sync for LatexFragment<'a>
impl<'a> Unpin for LatexFragment<'a>
impl<'a> UnwindSafe for LatexFragment<'a>
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