pub enum FallbackStrategy {
PreferredNumber,
PreferredDate,
PreferredTime,
SurfaceDate,
SurfaceTime,
Literal,
UnicodeCodePoint,
}Expand description
Applied source-faithful rendering strategy.
Variants§
PreferredNumber
A validated number or neutral sentence-final numeric period.
PreferredDate
A validated date, adopting its written date format without an explicit cue.
PreferredTime
A validated clock, adopting its written clock format without an explicit cue.
SurfaceDate
Date-shaped source components without calendar certification.
SurfaceTime
Clock-shaped source components without clock certification.
Literal
Ordered literal words, letters, digits and symbol names.
UnicodeCodePoint
One or more unnamed scalars spoken as conventional hexadecimal U+ codes.
Trait Implementations§
Source§impl Clone for FallbackStrategy
impl Clone for FallbackStrategy
impl Copy for FallbackStrategy
Source§impl Debug for FallbackStrategy
impl Debug for FallbackStrategy
impl Eq for FallbackStrategy
Source§impl PartialEq for FallbackStrategy
impl PartialEq for FallbackStrategy
Source§impl Serialize for FallbackStrategy
impl Serialize for FallbackStrategy
impl StructuralPartialEq for FallbackStrategy
Auto Trait Implementations§
impl Freeze for FallbackStrategy
impl RefUnwindSafe for FallbackStrategy
impl Send for FallbackStrategy
impl Sync for FallbackStrategy
impl Unpin for FallbackStrategy
impl UnsafeUnpin for FallbackStrategy
impl UnwindSafe for FallbackStrategy
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