Enum icu::locale::TransformResult
source · pub enum TransformResult {
Modified,
Unmodified,
}
Expand description
Used to track the result of a transformation operation that potentially modifies its argument in place.
Variants§
Modified
The canonicalization operation modified the locale.
Unmodified
The canonicalization operation did not modify the locale.
Trait Implementations§
source§impl Debug for TransformResult
impl Debug for TransformResult
source§impl PartialEq for TransformResult
impl PartialEq for TransformResult
impl StructuralPartialEq for TransformResult
Auto Trait Implementations§
impl Freeze for TransformResult
impl RefUnwindSafe for TransformResult
impl Send for TransformResult
impl Sync for TransformResult
impl Unpin for TransformResult
impl UnwindSafe for TransformResult
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