pub struct CodeSetFormat {
pub code_set: Option<String>,
pub multibyte_max_bytes: Option<u32>,
}Expand description
Settings related to message display.
Fields§
§code_set: Option<String>The code set to use when displaying messages in the current locale.
Note that this does not return standard code set identifiers and so
this value cannot be used with the codes::codesets module.
multibyte_max_bytes: Option<u32>The maximum number of bytes needed to represent a single wide character in the current locale.
Trait Implementations§
Source§impl Clone for CodeSetFormat
impl Clone for CodeSetFormat
Source§fn clone(&self) -> CodeSetFormat
fn clone(&self) -> CodeSetFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodeSetFormat
impl Debug for CodeSetFormat
Source§impl PartialEq for CodeSetFormat
impl PartialEq for CodeSetFormat
Source§fn eq(&self, other: &CodeSetFormat) -> bool
fn eq(&self, other: &CodeSetFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeSetFormat
Auto Trait Implementations§
impl Freeze for CodeSetFormat
impl RefUnwindSafe for CodeSetFormat
impl Send for CodeSetFormat
impl Sync for CodeSetFormat
impl Unpin for CodeSetFormat
impl UnsafeUnpin for CodeSetFormat
impl UnwindSafe for CodeSetFormat
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