Struct lexical_core::ParseIntegerOptions
source · pub struct ParseIntegerOptions { /* private fields */ }
Expand description
Immutable options to customize writing integers.
§Examples
use lexical_parse_integer::options::Options;
let options = Options::builder()
.build()
.unwrap();
Implementations§
source§impl Options
impl Options
sourcepub const fn get_no_multi_digit(&self) -> bool
pub const fn get_no_multi_digit(&self) -> bool
Get if we disable the use of multi-digit optimizations.
sourcepub fn no_multi_digit(&mut self, no_multi_digit: bool)
pub fn no_multi_digit(&mut self, no_multi_digit: bool)
Set if we disable the use of multi-digit optimizations.
sourcepub const fn builder() -> OptionsBuilder
pub const fn builder() -> OptionsBuilder
Get OptionsBuilder
as a static function.
sourcepub const fn rebuild(&self) -> OptionsBuilder
pub const fn rebuild(&self) -> OptionsBuilder
Create OptionsBuilder
using existing values.
Trait Implementations§
source§impl Ord for Options
impl Ord for Options
source§impl ParseOptions for Options
impl ParseOptions for Options
source§impl PartialOrd for Options
impl PartialOrd for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)