#[repr(C)]pub struct KtestItemInfo {
pub module_path: &'static str,
pub fn_name: &'static str,
pub package: &'static str,
pub source: &'static str,
pub line: usize,
pub col: usize,
}Expand description
The information of the unit test.
Fields§
§module_path: &'static strThe path of the module, not including the function name.
It would be separated by ::.
fn_name: &'static strThe name of the unit test function.
package: &'static strThe name of the crate.
source: &'static strThe source file where the test function resides.
line: usizeThe line number of the test function in the file.
col: usizeThe column number of the test function in the file.
Trait Implementations§
Source§impl Clone for KtestItemInfo
impl Clone for KtestItemInfo
Source§fn clone(&self) -> KtestItemInfo
fn clone(&self) -> KtestItemInfo
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 KtestItemInfo
impl Debug for KtestItemInfo
Source§impl PartialEq for KtestItemInfo
impl PartialEq for KtestItemInfo
impl StructuralPartialEq for KtestItemInfo
Auto Trait Implementations§
impl Freeze for KtestItemInfo
impl RefUnwindSafe for KtestItemInfo
impl Send for KtestItemInfo
impl Sync for KtestItemInfo
impl Unpin for KtestItemInfo
impl UnwindSafe for KtestItemInfo
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