Enum icu_capi::datetime_formatter::ffi::ICU4XTimeLength
source · #[repr(C)]pub enum ICU4XTimeLength {
Full = 0,
Long = 1,
Medium = 2,
Short = 3,
}
Variants§
Trait Implementations§
source§impl Clone for ICU4XTimeLength
impl Clone for ICU4XTimeLength
source§fn clone(&self) -> ICU4XTimeLength
fn clone(&self) -> ICU4XTimeLength
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 From<ICU4XTimeLength> for Time
impl From<ICU4XTimeLength> for Time
source§fn from(this: ICU4XTimeLength) -> Self
fn from(this: ICU4XTimeLength) -> Self
Converts to this type from the input type.
source§impl From<Time> for ICU4XTimeLength
impl From<Time> for ICU4XTimeLength
impl Copy for ICU4XTimeLength
Auto Trait Implementations§
impl Freeze for ICU4XTimeLength
impl RefUnwindSafe for ICU4XTimeLength
impl Send for ICU4XTimeLength
impl Sync for ICU4XTimeLength
impl Unpin for ICU4XTimeLength
impl UnwindSafe for ICU4XTimeLength
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> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
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