Enum pulldown_latex::event::ScriptPosition
source · 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 copy 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
source§fn eq(&self, other: &ScriptPosition) -> bool
fn eq(&self, other: &ScriptPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)