pub enum TestScore {
Success(u32),
Failure {
score: u32,
reasons: Option<Vec<String>>,
},
}Expand description
The result of MatchContext::test, providing low-level access to the final match
scoring and failure reasons.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for TestScore
impl Freeze for TestScore
impl Move for TestScore
impl RefUnwindSafe for TestScore
impl Send for TestScore
impl Sync for TestScore
impl Unpin for TestScore
impl UnsafeUnpin for TestScore
impl UnwindSafe for TestScore
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