pub enum MathVariant {
Normal,
Transform(TextTransform),
}Expand description
Variants§
Normal
This is enforced by setting mathvariant="normal".
Transform(TextTransform)
This is enforced by transforming the characters themselves.
Implementations§
Source§impl MathVariant
impl MathVariant
Sourcepub fn differs_on_upright_letters(&self) -> bool
pub fn differs_on_upright_letters(&self) -> bool
Returns true if the transformation is sensitive to whether a letter is “upright”.
An example of an upright letter is “\Alpha”.
Trait Implementations§
Source§impl Clone for MathVariant
impl Clone for MathVariant
Source§fn clone(&self) -> MathVariant
fn clone(&self) -> MathVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MathVariant
impl Debug for MathVariant
Source§impl PartialEq for MathVariant
impl PartialEq for MathVariant
impl Copy for MathVariant
impl StructuralPartialEq for MathVariant
Auto Trait Implementations§
impl Freeze for MathVariant
impl RefUnwindSafe for MathVariant
impl Send for MathVariant
impl Sync for MathVariant
impl Unpin for MathVariant
impl UnwindSafe for MathVariant
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