pub enum RatioTester {
Textbook = 0,
Harris = 1,
Fast = 2,
Boundflipping = 3,
}Expand description
Enum representing the ratio tester type.
Variants§
Textbook = 0
Use textbook ratio test.
Harris = 1
Use Harris ratio test.
Fast = 2
Use fast ratio test.
Boundflipping = 3
Use bound flipping ratio test.
Trait Implementations§
Source§impl Clone for RatioTester
impl Clone for RatioTester
Source§fn clone(&self) -> RatioTester
fn clone(&self) -> RatioTester
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 moreSource§impl Debug for RatioTester
impl Debug for RatioTester
Source§impl From<RatioTester> for i32
impl From<RatioTester> for i32
Source§fn from(param: RatioTester) -> i32
fn from(param: RatioTester) -> i32
Converts to this type from the input type.
Source§impl PartialEq for RatioTester
impl PartialEq for RatioTester
impl Copy for RatioTester
impl Eq for RatioTester
impl StructuralPartialEq for RatioTester
Auto Trait Implementations§
impl Freeze for RatioTester
impl RefUnwindSafe for RatioTester
impl Send for RatioTester
impl Sync for RatioTester
impl Unpin for RatioTester
impl UnwindSafe for RatioTester
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