Enum icu_capi::week::ffi::ICU4XWeekRelativeUnit
source · #[repr(C)]pub enum ICU4XWeekRelativeUnit {
Previous = 0,
Current = 1,
Next = 2,
}
Variants§
Trait Implementations§
source§impl Clone for ICU4XWeekRelativeUnit
impl Clone for ICU4XWeekRelativeUnit
source§fn clone(&self) -> ICU4XWeekRelativeUnit
fn clone(&self) -> ICU4XWeekRelativeUnit
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<ICU4XWeekRelativeUnit> for RelativeUnit
impl From<ICU4XWeekRelativeUnit> for RelativeUnit
source§fn from(this: ICU4XWeekRelativeUnit) -> Self
fn from(this: ICU4XWeekRelativeUnit) -> Self
Converts to this type from the input type.
source§impl From<RelativeUnit> for ICU4XWeekRelativeUnit
impl From<RelativeUnit> for ICU4XWeekRelativeUnit
source§fn from(other: RelativeUnit) -> Self
fn from(other: RelativeUnit) -> Self
Converts to this type from the input type.
impl Copy for ICU4XWeekRelativeUnit
Auto Trait Implementations§
impl Freeze for ICU4XWeekRelativeUnit
impl RefUnwindSafe for ICU4XWeekRelativeUnit
impl Send for ICU4XWeekRelativeUnit
impl Sync for ICU4XWeekRelativeUnit
impl Unpin for ICU4XWeekRelativeUnit
impl UnwindSafe for ICU4XWeekRelativeUnit
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