Struct mathml_core::MathFunction
source · pub struct MathFunction { /* private fields */ }
Implementations§
source§impl MathFunction
impl MathFunction
pub fn new<S, I>(name: S, body: I) -> Selfwhere S: ToString, I: IntoIterator<Item = MathML>,
pub fn add_argument(&mut self, argument: MathML)
pub fn get_arguments(&self) -> &[MathML]
pub fn mut_arguments(&mut self) -> &mut Vec<MathML>
Trait Implementations§
source§impl Clone for MathFunction
impl Clone for MathFunction
source§fn clone(&self) -> MathFunction
fn clone(&self) -> MathFunction
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 MathFunction
impl Debug for MathFunction
source§impl Display for MathFunction
impl Display for MathFunction
source§impl From<MathFunction> for MathML
impl From<MathFunction> for MathML
source§fn from(value: MathFunction) -> Self
fn from(value: MathFunction) -> Self
Converts to this type from the input type.
source§impl PartialEq<MathFunction> for MathFunction
impl PartialEq<MathFunction> for MathFunction
source§fn eq(&self, other: &MathFunction) -> bool
fn eq(&self, other: &MathFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
impl RefUnwindSafe for MathFunction
impl Send for MathFunction
impl Sync for MathFunction
impl Unpin for MathFunction
impl UnwindSafe for MathFunction
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