pub struct Figures { /* private fields */ }Expand description
The numbers some facts hold.
Implementations§
Source§impl Figures
impl Figures
pub fn new() -> Self
Sourcepub fn add_json(&mut self, value: &Value)
pub fn add_json(&mut self, value: &Value)
Adds the numbers of a JSON value: its numbers as they are, its strings as texts.
Sourcepub fn unsupported(
&self,
text: &str,
rules: NumberRules,
) -> Vec<UnsupportedNumber>
pub fn unsupported( &self, text: &str, rules: NumberRules, ) -> Vec<UnsupportedNumber>
The numbers of text the facts do not hold, in order.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Figures
impl Freeze for Figures
impl Move for Figures
impl RefUnwindSafe for Figures
impl Send for Figureswhere
RawVecInner: Send,
impl Sync for Figureswhere
RawVecInner: Sync,
impl Unpin for Figures
impl UnsafeUnpin for Figures
impl UnwindSafe for Figureswhere
RawVecInner: UnwindSafe,
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