pub struct OptionsBuilder {}
Expand description
Builder for Options
.
Implementations§
source§impl OptionsBuilder
impl OptionsBuilder
sourcepub const fn new() -> OptionsBuilder
pub const fn new() -> OptionsBuilder
Create new options builder with default options.
sourcepub const unsafe fn build_unchecked(&self) -> Options
pub const unsafe fn build_unchecked(&self) -> Options
Trait Implementations§
source§impl Clone for OptionsBuilder
impl Clone for OptionsBuilder
source§fn clone(&self) -> OptionsBuilder
fn clone(&self) -> OptionsBuilder
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 OptionsBuilder
impl Debug for OptionsBuilder
source§impl Default for OptionsBuilder
impl Default for OptionsBuilder
source§fn default() -> OptionsBuilder
fn default() -> OptionsBuilder
Returns the “default value” for a type. Read more
source§impl Ord for OptionsBuilder
impl Ord for OptionsBuilder
source§fn cmp(&self, other: &OptionsBuilder) -> Ordering
fn cmp(&self, other: &OptionsBuilder) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OptionsBuilder
impl PartialEq for OptionsBuilder
source§impl PartialOrd for OptionsBuilder
impl PartialOrd for OptionsBuilder
impl Eq for OptionsBuilder
impl StructuralPartialEq for OptionsBuilder
Auto Trait Implementations§
impl Freeze for OptionsBuilder
impl RefUnwindSafe for OptionsBuilder
impl Send for OptionsBuilder
impl Sync for OptionsBuilder
impl Unpin for OptionsBuilder
impl UnwindSafe for OptionsBuilder
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
)