#[non_exhaustive]pub struct ListFormatterPreferences {
    pub locale_preferences: LocalePreferences,
}Expand description
The preferences for list formatting.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.locale_preferences: LocalePreferencesLocale Preferences for the Preferences structure.
Implementations§
Source§impl ListFormatterPreferences
 
impl ListFormatterPreferences
Sourcepub fn extend(&mut self, other: ListFormatterPreferences)
 
pub fn extend(&mut self, other: ListFormatterPreferences)
Extends the preferences with the values from another set of preferences.
Trait Implementations§
Source§impl Clone for ListFormatterPreferences
 
impl Clone for ListFormatterPreferences
Source§fn clone(&self) -> ListFormatterPreferences
 
fn clone(&self) -> ListFormatterPreferences
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 ListFormatterPreferences
 
impl Debug for ListFormatterPreferences
Source§impl Default for ListFormatterPreferences
 
impl Default for ListFormatterPreferences
Source§fn default() -> ListFormatterPreferences
 
fn default() -> ListFormatterPreferences
Returns the “default value” for a type. Read more
Source§impl From<&LanguageIdentifier> for ListFormatterPreferences
 
impl From<&LanguageIdentifier> for ListFormatterPreferences
Source§fn from(lid: &LanguageIdentifier) -> ListFormatterPreferences
 
fn from(lid: &LanguageIdentifier) -> ListFormatterPreferences
Converts to this type from the input type.
Source§impl From<&Locale> for ListFormatterPreferences
 
impl From<&Locale> for ListFormatterPreferences
Source§fn from(loc: &Locale) -> ListFormatterPreferences
 
fn from(loc: &Locale) -> ListFormatterPreferences
Converts to this type from the input type.
Source§impl From<LanguageIdentifier> for ListFormatterPreferences
 
impl From<LanguageIdentifier> for ListFormatterPreferences
Source§fn from(lid: LanguageIdentifier) -> ListFormatterPreferences
 
fn from(lid: LanguageIdentifier) -> ListFormatterPreferences
Converts to this type from the input type.
Source§impl From<Locale> for ListFormatterPreferences
 
impl From<Locale> for ListFormatterPreferences
Source§fn from(loc: Locale) -> ListFormatterPreferences
 
fn from(loc: Locale) -> ListFormatterPreferences
Converts to this type from the input type.
Source§impl Hash for ListFormatterPreferences
 
impl Hash for ListFormatterPreferences
Source§impl PartialEq for ListFormatterPreferences
 
impl PartialEq for ListFormatterPreferences
impl Copy for ListFormatterPreferences
impl Eq for ListFormatterPreferences
impl StructuralPartialEq for ListFormatterPreferences
Auto Trait Implementations§
impl Freeze for ListFormatterPreferences
impl RefUnwindSafe for ListFormatterPreferences
impl Send for ListFormatterPreferences
impl Sync for ListFormatterPreferences
impl Unpin for ListFormatterPreferences
impl UnwindSafe for ListFormatterPreferences
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§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more