pub enum Rule {
PreferInput,
PreferMd5,
FirstInput,
Unit,
UnitConflict,
Withheld,
}Expand description
A candidate’s rule (7.3’s collisions.rule).
Variants§
PreferInput
E31 rule 1.
PreferMd5
E31 rule 2.
FirstInput
E31 rule 3.
Unit
A plain candidate for a reserved key.
UnitConflict
The winning unit step 2 withheld.
Withheld
E61.
Implementations§
Trait Implementations§
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Forget for Rule
impl Freeze for Rule
impl Move 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