pub enum GroupKind {
Explicit,
Implicit,
Delimited {
left: Delimiter,
right: Delimiter,
},
InlineMath,
}Expand description
Group type for different grouping constructs
Variants§
Explicit
Explicit group: {…}
Implicit
Implicit group: wrapper for sequences that need to be treated as a single node
Used when folding multiple items into one (e.g., infix operands).
Delimited
Delimited group: \left delim … \right delim
Examples: \left( … \right), \left{ … \right}
InlineMath
Inline math in text mode: $…$
Note: Display math […] is not currently supported (future extension).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GroupKind
impl<'de> Deserialize<'de> for GroupKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GroupKind
impl StructuralPartialEq for GroupKind
Auto Trait Implementations§
impl Freeze for GroupKind
impl RefUnwindSafe for GroupKind
impl Send for GroupKind
impl Sync for GroupKind
impl Unpin for GroupKind
impl UnsafeUnpin for GroupKind
impl UnwindSafe for GroupKind
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