#[non_exhaustive]pub enum HourCycle {
H11 = 0,
H12 = 1,
H23 = 2,
H24 = 3,
}Expand description
Hour cycle for Intl.DateTimeFormat.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl BatchableResult for HourCycle
impl BatchableResult for HourCycle
Source§impl BinaryDecode for HourCycle
impl BinaryDecode for HourCycle
fn decode(decoder: &mut DecodedData<'_>) -> Result<Self, DecodeError>
Source§impl BinaryEncode for HourCycle
impl BinaryEncode for HourCycle
fn encode(self, encoder: &mut EncodedData)
Source§impl EncodeTypeDef for HourCycle
impl EncodeTypeDef for HourCycle
Source§fn encode_type_def(buf: &mut Vec<u8>)
fn encode_type_def(buf: &mut Vec<u8>)
Encode this type’s definition into the buffer.
For primitives, this is just the TypeTag byte.
For callbacks, this includes param count, param types, and return type.
impl Copy for HourCycle
impl Eq for HourCycle
impl StructuralPartialEq for HourCycle
Auto Trait Implementations§
impl Freeze for HourCycle
impl RefUnwindSafe for HourCycle
impl Send for HourCycle
impl Sync for HourCycle
impl Unpin for HourCycle
impl UnsafeUnpin for HourCycle
impl UnwindSafe for HourCycle
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