pub enum TranslationStatus {
Unchanged,
Lossless,
Lossy,
}Expand description
Coarse translation outcome.
Variants§
Unchanged
The output is byte-identical to the input and no diagnostics or losses were recorded.
Lossless
The output changed without known loss.
Lossy
Translation changed source spelling, skipped unsupported input, or recorded diagnostics.
Trait Implementations§
Source§impl Clone for TranslationStatus
impl Clone for TranslationStatus
Source§fn clone(&self) -> TranslationStatus
fn clone(&self) -> TranslationStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TranslationStatus
impl Debug for TranslationStatus
Source§impl PartialEq for TranslationStatus
impl PartialEq for TranslationStatus
Source§fn eq(&self, other: &TranslationStatus) -> bool
fn eq(&self, other: &TranslationStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TranslationStatus
impl Eq for TranslationStatus
impl StructuralPartialEq for TranslationStatus
Auto Trait Implementations§
impl Freeze for TranslationStatus
impl RefUnwindSafe for TranslationStatus
impl Send for TranslationStatus
impl Sync for TranslationStatus
impl Unpin for TranslationStatus
impl UnsafeUnpin for TranslationStatus
impl UnwindSafe for TranslationStatus
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