pub struct IndexRegion {
pub l1: usize,
pub c1: usize,
pub l2: usize,
pub c2: usize,
pub count: usize,
pub file_id: usize,
}Expand description
A region in a TestIndex.
Fields§
§l1: usizeThe line number of the first line of the region.
c1: usizeThe column number of the first column of the region.
l2: usizeThe line number of the last line of the region.
c2: usizeThe column number of the last column of the region.
count: usizeThe number of times the region was executed.
file_id: usizeThe index of the file in the TestIndex.
Trait Implementations§
Source§impl Clone for IndexRegion
impl Clone for IndexRegion
Source§fn clone(&self) -> IndexRegion
fn clone(&self) -> IndexRegion
Returns a copy 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 IndexRegion
impl Debug for IndexRegion
Source§impl<'de> Deserialize<'de> for IndexRegion
impl<'de> Deserialize<'de> for IndexRegion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for IndexRegion
impl Serialize for IndexRegion
impl Copy for IndexRegion
Auto Trait Implementations§
impl Freeze for IndexRegion
impl RefUnwindSafe for IndexRegion
impl Send for IndexRegion
impl Sync for IndexRegion
impl Unpin for IndexRegion
impl UnwindSafe for IndexRegion
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