pub enum TexGroup {
None,
SemiSimple,
Box,
}Expand description
The TeX group an environment’s begin code leaves open for its end code, in tex.web’s group codes (§269):
none (\trivlist, \list: the bare \X opens no group at all), a semi_simple_group (\begingroup, or a
nested \begin: setspace’s spacing, lscape’s landscape, multicols, beamer’s blocks), or a box group (a
\vbox\bgroup/\hbox\bgroup/\color@hbox: a float’s \@xfloat, latex.ltx:17421-17479; \minipage, :16310).
§1063 end_group against a semi_simple_group just unsaves; against a box group it is off_save’s “Missing }
inserted” (§1064). } against a semi_simple_group is §1069 extra_right_brace (“Extra }, or forgotten
\endgroup”); against a box group §1068 packages the box, with no error there, and TeX reports the mismatch later.
Variants§
Implementations§
Trait Implementations§
impl Copy for TexGroup
impl Eq for TexGroup
impl StructuralPartialEq for TexGroup
Auto Trait Implementations§
impl Freeze for TexGroup
impl RefUnwindSafe for TexGroup
impl Send for TexGroup
impl Sync for TexGroup
impl Unpin for TexGroup
impl UnsafeUnpin for TexGroup
impl UnwindSafe for TexGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more