Struct icu_pattern::ParserOptions
source · pub struct ParserOptions {
pub allow_raw_letters: bool,
}
Expand description
Options passed to the constructor of Parser
.
Fields§
§allow_raw_letters: bool
Controls whether ASCII letters can appear in the raw pattern.
If set to true
, ASCII letters can be used directly in the pattern,
like “{0} days”.
If set to false
, ASCII letters can only appear in quoted literals,
like “{0} ‘days’”.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ParserOptions
impl Send for ParserOptions
impl Sync for ParserOptions
impl Unpin for ParserOptions
impl UnwindSafe for ParserOptions
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