pub enum ApplyHandler {
Infix,
Script,
Summation,
Prefix,
Postfix,
Fraction,
OverAccent,
UnderAccent,
Enclose,
Generic,
}Expand description
Presentation handler type for XMApp nodes.
Port of the Apply:ROLE:? entries in DefMathML.
Returns the handler category that presentation.rs should use.
Variants§
Infix
Infix: op between args (ADDOP, MULOP, RELOP, etc.)
Script
Script: sub/superscript (SUPERSCRIPTOP, SUBSCRIPTOP)
Summation
Big operator with possible limits (SUMOP, INTOP, BIGOP, LIMITOP)
Prefix
Prefix: op before args (DIFFOP, default)
Postfix
Postfix: args then op (POSTFIX)
Fraction
Fraction (FRACOP)
OverAccent
Over accent (OVERACCENT)
UnderAccent
Under accent (UNDERACCENT)
Enclose
Enclose (ENCLOSE)
Generic
Generic application (default)
Trait Implementations§
Source§impl Clone for ApplyHandler
impl Clone for ApplyHandler
Source§fn clone(&self) -> ApplyHandler
fn clone(&self) -> ApplyHandler
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 ApplyHandler
Source§impl Debug for ApplyHandler
impl Debug for ApplyHandler
Source§impl PartialEq for ApplyHandler
impl PartialEq for ApplyHandler
impl StructuralPartialEq for ApplyHandler
Auto Trait Implementations§
impl Freeze for ApplyHandler
impl RefUnwindSafe for ApplyHandler
impl Send for ApplyHandler
impl Sync for ApplyHandler
impl Unpin for ApplyHandler
impl UnsafeUnpin for ApplyHandler
impl UnwindSafe for ApplyHandler
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