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
sourceimpl Clone for SciSizeOptions
impl Clone for SciSizeOptions
sourcefn clone(&self) -> SciSizeOptions
fn clone(&self) -> SciSizeOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SciSizeOptions
impl Debug for SciSizeOptions
sourceimpl Default for SciSizeOptions
impl Default for SciSizeOptions
sourcefn default() -> SciSizeOptions
fn default() -> SciSizeOptions
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SciSizeOptions> for SciSizeOptions
impl PartialEq<SciSizeOptions> for SciSizeOptions
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SciSizeOptions) -> bool
fn ne(&self, other: &SciSizeOptions) -> bool
This method tests for !=
.
impl Copy for SciSizeOptions
impl Eq for SciSizeOptions
impl StructuralEq for SciSizeOptions
impl StructuralPartialEq for SciSizeOptions
Auto Trait Implementations
impl RefUnwindSafe for SciSizeOptions
impl Send for SciSizeOptions
impl Sync for SciSizeOptions
impl Unpin for SciSizeOptions
impl UnwindSafe for SciSizeOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more