Enum mathml::ast::operator::DerivativeNotation
source · pub enum DerivativeNotation {
LeibnizTotal,
LeibnizPartialStandard,
LeibnizPartialCompact,
Newton,
DNotation,
Lagrange,
}
Expand description
All the stuff that was in the LaTeX equation that we need to reproduce the original LaTeX equation
Variants§
LeibnizTotal
e.g. df/dx
LeibnizPartialStandard
e.g. ∂f/∂x
LeibnizPartialCompact
e.g ∂_x
Newton
dot notation, e.g. \dot{f}
DNotation
Df/Dx
Lagrange
prime notation, e.g. f’
Implementations§
source§impl DerivativeNotation
impl DerivativeNotation
sourcepub fn new_leibniz_total() -> Self
pub fn new_leibniz_total() -> Self
Constructs a new DerivativeNotation::LeibnizTotal
.
source§impl DerivativeNotation
impl DerivativeNotation
sourcepub fn new_leibniz_partial_standard() -> Self
pub fn new_leibniz_partial_standard() -> Self
Constructs a new DerivativeNotation::LeibnizPartialStandard
.
source§impl DerivativeNotation
impl DerivativeNotation
sourcepub fn new_leibniz_partial_compact() -> Self
pub fn new_leibniz_partial_compact() -> Self
Constructs a new DerivativeNotation::LeibnizPartialCompact
.
source§impl DerivativeNotation
impl DerivativeNotation
sourcepub fn new_newton() -> Self
pub fn new_newton() -> Self
Constructs a new DerivativeNotation::Newton
.
source§impl DerivativeNotation
impl DerivativeNotation
sourcepub fn new_d_notation() -> Self
pub fn new_d_notation() -> Self
Constructs a new DerivativeNotation::DNotation
.
source§impl DerivativeNotation
impl DerivativeNotation
sourcepub fn new_lagrange() -> Self
pub fn new_lagrange() -> Self
Constructs a new DerivativeNotation::Lagrange
.
Trait Implementations§
source§impl Clone for DerivativeNotation
impl Clone for DerivativeNotation
source§fn clone(&self) -> DerivativeNotation
fn clone(&self) -> DerivativeNotation
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 DerivativeNotation
impl Debug for DerivativeNotation
source§impl<'de> Deserialize<'de> for DerivativeNotation
impl<'de> Deserialize<'de> for DerivativeNotation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for DerivativeNotation
impl Hash for DerivativeNotation
source§impl JsonSchema for DerivativeNotation
impl JsonSchema for DerivativeNotation
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for DerivativeNotation
impl Ord for DerivativeNotation
source§fn cmp(&self, other: &DerivativeNotation) -> Ordering
fn cmp(&self, other: &DerivativeNotation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DerivativeNotation
impl PartialEq for DerivativeNotation
source§fn eq(&self, other: &DerivativeNotation) -> bool
fn eq(&self, other: &DerivativeNotation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DerivativeNotation
impl PartialOrd for DerivativeNotation
source§fn partial_cmp(&self, other: &DerivativeNotation) -> Option<Ordering>
fn partial_cmp(&self, other: &DerivativeNotation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for DerivativeNotation
impl Serialize for DerivativeNotation
impl Eq for DerivativeNotation
impl StructuralPartialEq for DerivativeNotation
Auto Trait Implementations§
impl RefUnwindSafe for DerivativeNotation
impl Send for DerivativeNotation
impl Sync for DerivativeNotation
impl Unpin for DerivativeNotation
impl UnwindSafe for DerivativeNotation
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.