Struct mathml_core::MathMultiScript
source · pub struct MathMultiScript { /* private fields */ }
Expand description
The <mmultiscripts>
element is used to attach multiple subscripts and superscripts to a base.
Implementations§
source§impl MathMultiScript
impl MathMultiScript
pub fn new( base: MathML, lu: Vec<MathML>, ld: Vec<MathML>, ru: Vec<MathML>, rd: Vec<MathML> ) -> Self
pub fn sub_script(base: MathML, sub: MathML) -> Self
pub fn is_sub_script(&self) -> bool
pub fn super_script(base: MathML, sup: MathML) -> Self
pub fn is_super_script(&self) -> bool
pub fn sub_super_script(base: MathML, sub: MathML, sup: MathML) -> Self
pub fn is_sub_super_script(&self) -> bool
Trait Implementations§
source§impl Clone for MathMultiScript
impl Clone for MathMultiScript
source§fn clone(&self) -> MathMultiScript
fn clone(&self) -> MathMultiScript
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 MathMultiScript
impl Debug for MathMultiScript
source§impl Display for MathMultiScript
impl Display for MathMultiScript
source§impl From<MathMultiScript> for MathML
impl From<MathMultiScript> for MathML
source§fn from(value: MathMultiScript) -> Self
fn from(value: MathMultiScript) -> Self
Converts to this type from the input type.
source§impl PartialEq<MathMultiScript> for MathMultiScript
impl PartialEq<MathMultiScript> for MathMultiScript
source§fn eq(&self, other: &MathMultiScript) -> bool
fn eq(&self, other: &MathMultiScript) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MathMultiScript
Auto Trait Implementations§
impl RefUnwindSafe for MathMultiScript
impl Send for MathMultiScript
impl Sync for MathMultiScript
impl Unpin for MathMultiScript
impl UnwindSafe for MathMultiScript
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