pub enum CommandSpacing {
Spaced,
Minimal,
}Expand description
Whether to insert a space between a command and the following structural token in math mode.
Spaced: \frac { a } — Minimal: \frac{ a }.
Minimal only removes the command-to-structure boundary itself; it still
preserves lexical separation when omitting a space would merge a following
letter-like token into the control sequence name (e.g. \alpha x).
Variants§
Trait Implementations§
Source§impl Clone for CommandSpacing
impl Clone for CommandSpacing
Source§fn clone(&self) -> CommandSpacing
fn clone(&self) -> CommandSpacing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandSpacing
Source§impl Debug for CommandSpacing
impl Debug for CommandSpacing
Source§impl Default for CommandSpacing
impl Default for CommandSpacing
Source§fn default() -> CommandSpacing
fn default() -> CommandSpacing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandSpacing
impl<'de> Deserialize<'de> for CommandSpacing
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 CommandSpacing
Source§impl PartialEq for CommandSpacing
impl PartialEq for CommandSpacing
Source§fn eq(&self, other: &CommandSpacing) -> bool
fn eq(&self, other: &CommandSpacing) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandSpacing
impl Serialize for CommandSpacing
impl StructuralPartialEq for CommandSpacing
Auto Trait Implementations§
impl Freeze for CommandSpacing
impl RefUnwindSafe for CommandSpacing
impl Send for CommandSpacing
impl Sync for CommandSpacing
impl Unpin for CommandSpacing
impl UnsafeUnpin for CommandSpacing
impl UnwindSafe for CommandSpacing
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.