pub enum FragmentKind {
UnmatchedClose,
StrayRight(Delim),
RedundantMathShift,
}Expand description
The structural fragments the top level tolerates (per-argument
SingleStringTex semantics).
Variants§
UnmatchedClose
An unmatched } whose opener lives in an earlier piece. Transparent
to classification and spacing; renders nothing.
StrayRight(Delim)
A \right whose \left lives in an earlier piece; renders its
delimiter (class Close).
RedundantMathShift
A redundant $ in a math-mode string (authors wrapping an
already-math string in dollars). Transparent; renders nothing.
Trait Implementations§
Source§impl Clone for FragmentKind
impl Clone for FragmentKind
Source§impl Debug for FragmentKind
impl Debug for FragmentKind
Source§impl PartialEq for FragmentKind
impl PartialEq for FragmentKind
impl StructuralPartialEq for FragmentKind
Auto Trait Implementations§
impl Freeze for FragmentKind
impl RefUnwindSafe for FragmentKind
impl Send for FragmentKind
impl Sync for FragmentKind
impl Unpin for FragmentKind
impl UnsafeUnpin for FragmentKind
impl UnwindSafe for FragmentKind
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