Struct ecma402_traits::collator::Options
source · pub struct Options {
pub usage: Usage,
pub sensitivity: Sensitivity,
pub punctuation: Punctuation,
pub numeric: Numeric,
pub case_first: CaseFirst,
}
Expand description
The options set by the user at construction time. See discussion at the top level about the name choice. Provides as a “bag of options” since we don’t expect any implementations to be attached to this struct.
The default values of all the options are prescribed in by the TC39 report.
Fields§
§usage: Usage
§sensitivity: Sensitivity
§punctuation: Punctuation
§numeric: Numeric
§case_first: CaseFirst
Trait Implementations§
source§impl PartialEq for Options
impl PartialEq for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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