Trait subtle::ConditionallyNegatable
[−]
[src]
pub trait ConditionallyNegatable {
fn conditional_negate(&mut self, choice: Mask);
}Trait for items which can be conditionally negated in constant time.
Note: it is not necessary to implement this trait, as a generic implementation is provided.
Required Methods
fn conditional_negate(&mut self, choice: Mask)
Conditionally negate an element if choice == 1u8.