Enum malachite_base::num::conversion::string::options::SciSizeOptions
source · Expand description
A struct determining how much “detail” should be used when creating a scientific-notation
string.
Variants§
Complete
Indicates that the number should be rendered in its full precision.
Precision(u64)
Indicates how many significant figures should be shown. The precision cannot be zero.
Scale(u64)
Indicates how many digits after the decimal (or other-base) point should be shown. For example, if the base is 10 and the scale is 2, then up to two digits after the decimal point should be shown.
Trait Implementations§
source§impl Clone for SciSizeOptions
impl Clone for SciSizeOptions
source§fn clone(&self) -> SciSizeOptions
fn clone(&self) -> SciSizeOptions
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 SciSizeOptions
impl Debug for SciSizeOptions
source§impl Default for SciSizeOptions
impl Default for SciSizeOptions
source§fn default() -> SciSizeOptions
fn default() -> SciSizeOptions
Returns the “default value” for a type. Read more
source§impl PartialEq<SciSizeOptions> for SciSizeOptions
impl PartialEq<SciSizeOptions> for SciSizeOptions
source§fn eq(&self, other: &SciSizeOptions) -> bool
fn eq(&self, other: &SciSizeOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.