pub enum Rule {
Missing,
Unknown,
SharedColour,
Distinct,
Text,
}Expand description
Which rule a Problem breaks.
Variants§
Missing
A role of the palette has no patterns.
Unknown
The map names a role the palette doesn’t have.
Two roles of one colour have different patterns: the frame holds colours, so it can’t tell them apart.
Distinct
Two roles of a distinct group have foregrounds that look alike.
Text
A text role isn’t black on white or white on black.
Trait Implementations§
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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