Struct mathml_core::MathUnderOver
source · 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 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 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)where
K: ToString,
V: ToString,
fn add_attribute<K, V>(&mut self, key: K, value: V)where K: ToString, V: ToString,
Add an attribute to the operator.
source§fn with_attribute<K, V>(self, key: K, value: V) -> Selfwhere
K: ToString,
V: ToString,
fn with_attribute<K, V>(self, key: K, value: V) -> Selfwhere K: ToString, V: ToString,
Add an attribute to the operator.
source§impl PartialEq<MathUnderOver> for MathUnderOver
impl PartialEq<MathUnderOver> for MathUnderOver
source§fn eq(&self, other: &MathUnderOver) -> bool
fn eq(&self, other: &MathUnderOver) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MathUnderOver
Auto Trait Implementations§
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