#[repr(u8)]pub enum TestFunction {
Never = 0,
Always = 1,
Equal = 2,
NotEqual = 3,
Less = 4,
LessOrEqual = 5,
Greater = 6,
GreaterOrEqual = 7,
}Expand description
Test functions.
Variants§
Never = 0
Never pass.
Always = 1
Always pass.
Equal = 2
Pass if equal.
NotEqual = 3
Pass if not equal.
Less = 4
Pass if less than.
LessOrEqual = 5
Pass if less than or equal.
Greater = 6
Pass if greater than.
GreaterOrEqual = 7
Pass if greater than or equal.
Trait Implementations§
Source§impl Clone for TestFunction
impl Clone for TestFunction
Source§fn clone(&self) -> TestFunction
fn clone(&self) -> TestFunction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestFunction
impl Debug for TestFunction
Source§impl PartialEq for TestFunction
impl PartialEq for TestFunction
Source§impl TryFrom<u8> for TestFunction
impl TryFrom<u8> for TestFunction
impl Copy for TestFunction
impl Eq for TestFunction
impl StructuralPartialEq for TestFunction
Auto Trait Implementations§
impl Freeze for TestFunction
impl RefUnwindSafe for TestFunction
impl Send for TestFunction
impl Sync for TestFunction
impl Unpin for TestFunction
impl UnwindSafe for TestFunction
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)