#[non_exhaustive]pub enum TextIssueKind {
Missing,
Unused,
BadNumber {
number: u32,
count: u32,
},
}Expand description
The kind of result of checking a text table against the scripts (TextTable::check).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Missing
A missing translation. A key that is in the scripts but not in the table (warning).
Unused
An extra translation. A key that is in the table but not in the scripts (warning).
BadNumber
A number error. The n of ${n} in a translation exceeds the number of ${expr} in the original (error).
Implementations§
Trait Implementations§
Source§impl Clone for TextIssueKind
impl Clone for TextIssueKind
Source§impl Debug for TextIssueKind
impl Debug for TextIssueKind
impl Eq for TextIssueKind
Source§impl PartialEq for TextIssueKind
impl PartialEq for TextIssueKind
impl StructuralPartialEq for TextIssueKind
Auto Trait Implementations§
impl Forget for TextIssueKind
impl Freeze for TextIssueKind
impl Move for TextIssueKind
impl RefUnwindSafe for TextIssueKind
impl Send for TextIssueKind
impl Sync for TextIssueKind
impl Unpin for TextIssueKind
impl UnsafeUnpin for TextIssueKind
impl UnwindSafe for TextIssueKind
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