pub struct TranslationProgress {
pub total: usize,
pub not_started: usize,
pub in_progress: usize,
pub ported: usize,
pub verified: usize,
pub skipped: usize,
pub percent_complete: f32,
}Expand description
Summary statistics for a TranslationMap.
Fields§
§total: usizeTotal number of tracked source symbols.
not_started: usizeSymbols with TranslationStatus::NotStarted.
in_progress: usizeSymbols with TranslationStatus::InProgress.
ported: usizeSymbols with TranslationStatus::Ported.
verified: usizeSymbols with TranslationStatus::Verified.
skipped: usizeSymbols with TranslationStatus::Skipped.
percent_complete: f32Percentage of symbols considered complete:
(ported + verified + skipped) / total * 100.0.
Returns 0.0 when there are no mappings.
Trait Implementations§
Source§impl Clone for TranslationProgress
impl Clone for TranslationProgress
Source§fn clone(&self) -> TranslationProgress
fn clone(&self) -> TranslationProgress
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TranslationProgress
impl RefUnwindSafe for TranslationProgress
impl Send for TranslationProgress
impl Sync for TranslationProgress
impl Unpin for TranslationProgress
impl UnsafeUnpin for TranslationProgress
impl UnwindSafe for TranslationProgress
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