pub struct MathUnderOver { /* private fields */ }Expand description
The <munderover> element is used to attach accents or limits both under and over an expression.
Implementations§
Source§impl MathUnderOver
 
impl MathUnderOver
Sourcepub fn under(base: MathML, under: MathML) -> Self
 
pub fn under(base: MathML, under: MathML) -> Self
Creates a new MathUnderOver element with the given base and optional under and over elements.
Sourcepub fn over(base: MathML, over: MathML) -> Self
 
pub fn over(base: MathML, over: MathML) -> Self
Creates a new MathUnderOver element with the given base and optional under and over elements.
Sourcepub fn under_over(base: MathML, under: MathML, over: MathML) -> Self
 
pub fn under_over(base: MathML, under: MathML, over: MathML) -> Self
Creates a new MathUnderOver element with the given base and optional under and over elements.
Sourcepub fn with_accent_over(self) -> Self
 
pub fn with_accent_over(self) -> Self
Creates a new MathUnderOver element with the given base and optional under and over elements.
Sourcepub fn with_accent_under(self) -> Self
 
pub fn with_accent_under(self) -> Self
Creates a new MathUnderOver element with the given base and optional under and over elements.
Trait Implementations§
Source§impl Clone for MathUnderOver
 
impl Clone for MathUnderOver
Source§fn clone(&self) -> MathUnderOver
 
fn clone(&self) -> MathUnderOver
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 MathUnderOver
 
impl Debug for MathUnderOver
Source§impl Display for MathUnderOver
 
impl Display for MathUnderOver
Source§impl From<MathUnderOver> for MathML
 
impl From<MathUnderOver> for MathML
Source§fn from(value: MathUnderOver) -> Self
 
fn from(value: MathUnderOver) -> Self
Converts to this type from the input type.
Source§impl MathElement for MathUnderOver
 
impl MathElement for MathUnderOver
Source§fn add_attribute<K, V>(&mut self, key: K, value: V)
 
fn add_attribute<K, V>(&mut self, key: K, value: V)
Add an attribute to the operator.
Source§fn with_attribute<K, V>(self, key: K, value: V) -> Self
 
fn with_attribute<K, V>(self, key: K, value: V) -> Self
Add an attribute to the operator.
Source§impl PartialEq for MathUnderOver
 
impl PartialEq for MathUnderOver
impl StructuralPartialEq for MathUnderOver
Auto Trait Implementations§
impl Freeze for MathUnderOver
impl RefUnwindSafe for MathUnderOver
impl Send for MathUnderOver
impl Sync for MathUnderOver
impl Unpin for MathUnderOver
impl UnwindSafe for MathUnderOver
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