#[non_exhaustive]pub struct FormulaText {
pub raw: String,
pub normalized: Option<String>,
}Expand description
A formula’s text, with an optional normalised form.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.raw: String§normalized: Option<String>None unless the NormalizedText formula-compare mode is enabled and
a normaliser is available (RFC-018).
Trait Implementations§
Source§impl Clone for FormulaText
impl Clone for FormulaText
Source§fn clone(&self) -> FormulaText
fn clone(&self) -> FormulaText
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FormulaText
impl Debug for FormulaText
impl Eq for FormulaText
Source§impl PartialEq for FormulaText
impl PartialEq for FormulaText
impl StructuralPartialEq for FormulaText
Auto Trait Implementations§
impl Freeze for FormulaText
impl RefUnwindSafe for FormulaText
impl Send for FormulaText
impl Sync for FormulaText
impl Unpin for FormulaText
impl UnsafeUnpin for FormulaText
impl UnwindSafe for FormulaText
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.