pub struct ParametersBuilder { /* private fields */ }
Expand description
Builder for Parameters
.
Implementations§
Source§impl ParametersBuilder
impl ParametersBuilder
pub fn result_format<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn translation_options(&mut self, value: TranslationOptions) -> &mut Self
pub fn incremental_output<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<Parameters, ParametersBuilderError>
pub fn build(&self) -> Result<Parameters, ParametersBuilderError>
Trait Implementations§
Source§impl Clone for ParametersBuilder
impl Clone for ParametersBuilder
Source§fn clone(&self) -> ParametersBuilder
fn clone(&self) -> ParametersBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ParametersBuilder
impl RefUnwindSafe for ParametersBuilder
impl Send for ParametersBuilder
impl Sync for ParametersBuilder
impl Unpin for ParametersBuilder
impl UnwindSafe for ParametersBuilder
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