Enum biodivine_lib_param_bn::sbml::import::_read_mathml::MathMl
source · [−]pub enum MathMl {
Boolean(bool),
Integer(i64),
Identifier(String),
Apply(String, Vec<MathMl>),
SymbolApply(String, Vec<MathMl>),
}
Variants
Boolean(bool)
Integer(i64)
Identifier(String)
Apply(String, Vec<MathMl>)
SymbolApply(String, Vec<MathMl>)
Implementations
sourceimpl MathMl
impl MathMl
Some utility methods for working with MathML trees.
sourcepub fn contains_identifier(&self, id: &str) -> bool
pub fn contains_identifier(&self, id: &str) -> bool
Returns true if the function contains given identifier (function symbols do not count).
Trait Implementations
impl Eq for MathMl
impl StructuralEq for MathMl
impl StructuralPartialEq for MathMl
Auto Trait Implementations
impl RefUnwindSafe for MathMl
impl Send for MathMl
impl Sync for MathMl
impl Unpin for MathMl
impl UnwindSafe for MathMl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more