pub enum ArgumentDomain {
Unknown,
Math,
Text,
}Expand description
The TeX mode a command or environment argument is proven to establish.
Variants§
Unknown
No safe text-or-math claim is available.
Math
The argument is parsed and interpreted as math.
Text
The argument is parsed and interpreted as text.
Trait Implementations§
Source§impl Clone for ArgumentDomain
impl Clone for ArgumentDomain
Source§fn clone(&self) -> ArgumentDomain
fn clone(&self) -> ArgumentDomain
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 ArgumentDomain
Source§impl Debug for ArgumentDomain
impl Debug for ArgumentDomain
Source§impl Default for ArgumentDomain
impl Default for ArgumentDomain
Source§fn default() -> ArgumentDomain
fn default() -> ArgumentDomain
Returns the “default value” for a type. Read more
impl Eq for ArgumentDomain
Source§impl From<ArgumentDomain> for Mode
impl From<ArgumentDomain> for Mode
Source§fn from(domain: ArgumentDomain) -> Self
fn from(domain: ArgumentDomain) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArgumentDomain
impl PartialEq for ArgumentDomain
impl StructuralPartialEq for ArgumentDomain
Auto Trait Implementations§
impl Freeze for ArgumentDomain
impl RefUnwindSafe for ArgumentDomain
impl Send for ArgumentDomain
impl Sync for ArgumentDomain
impl Unpin for ArgumentDomain
impl UnsafeUnpin for ArgumentDomain
impl UnwindSafe for ArgumentDomain
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