pub struct SetLocaleOverrideBuilder { /* private fields */ }Expand description
Builder for SetLocaleOverride.
Implementations§
Source§impl SetLocaleOverrideBuilder
impl SetLocaleOverrideBuilder
Sourcepub fn locale<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn locale<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ICU style C locale (e.g. “en_US”). If not specified or empty, disables the override and restores default host system locale.
Sourcepub fn build(&self) -> Result<SetLocaleOverride, SetLocaleOverrideBuilderError>
pub fn build(&self) -> Result<SetLocaleOverride, SetLocaleOverrideBuilderError>
Trait Implementations§
Source§impl Clone for SetLocaleOverrideBuilder
impl Clone for SetLocaleOverrideBuilder
Source§fn clone(&self) -> SetLocaleOverrideBuilder
fn clone(&self) -> SetLocaleOverrideBuilder
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 SetLocaleOverrideBuilder
impl RefUnwindSafe for SetLocaleOverrideBuilder
impl Send for SetLocaleOverrideBuilder
impl Sync for SetLocaleOverrideBuilder
impl Unpin for SetLocaleOverrideBuilder
impl UnsafeUnpin for SetLocaleOverrideBuilder
impl UnwindSafe for SetLocaleOverrideBuilder
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