pub enum ScriptPosition {
Right,
AboveBelow,
Movable,
}
Expand description
Position of the script. This is used to determine how to render the scripts.
Variants§
Right
The scripts are rendered to the (bottom and top) right of the operator.
AboveBelow
The scripts are rendered above and below the operator instead of to the right.
Movable
Is set to AboveBelow
by preference, but should be changed to Right
when rendering in
inline mode.
This is used by the lim
and sum
(Σ) operators for example.
Trait Implementations§
Source§impl Clone for ScriptPosition
impl Clone for ScriptPosition
Source§fn clone(&self) -> ScriptPosition
fn clone(&self) -> ScriptPosition
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 ScriptPosition
impl Debug for ScriptPosition
Source§impl PartialEq for ScriptPosition
impl PartialEq for ScriptPosition
impl Copy for ScriptPosition
impl StructuralPartialEq for ScriptPosition
Auto Trait Implementations§
impl Freeze for ScriptPosition
impl RefUnwindSafe for ScriptPosition
impl Send for ScriptPosition
impl Sync for ScriptPosition
impl Unpin for ScriptPosition
impl UnwindSafe for ScriptPosition
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