Enum icu_capi::errors::ffi::ICU4XLocaleParseError
source · #[repr(C)]pub enum ICU4XLocaleParseError {
Unknown = 0,
Language = 1,
Subtag = 2,
Extension = 3,
}
Variants§
Trait Implementations§
source§impl Clone for ICU4XLocaleParseError
impl Clone for ICU4XLocaleParseError
source§fn clone(&self) -> ICU4XLocaleParseError
fn clone(&self) -> ICU4XLocaleParseError
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 Debug for ICU4XLocaleParseError
impl Debug for ICU4XLocaleParseError
source§impl From<ParseError> for ICU4XLocaleParseError
impl From<ParseError> for ICU4XLocaleParseError
source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ICU4XLocaleParseError
impl PartialEq for ICU4XLocaleParseError
source§fn eq(&self, other: &ICU4XLocaleParseError) -> bool
fn eq(&self, other: &ICU4XLocaleParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ICU4XLocaleParseError
impl Eq for ICU4XLocaleParseError
impl StructuralPartialEq for ICU4XLocaleParseError
Auto Trait Implementations§
impl Freeze for ICU4XLocaleParseError
impl RefUnwindSafe for ICU4XLocaleParseError
impl Send for ICU4XLocaleParseError
impl Sync for ICU4XLocaleParseError
impl Unpin for ICU4XLocaleParseError
impl UnwindSafe for ICU4XLocaleParseError
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> 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