pub struct Branch { /* private fields */ }
Implementations§
Source§impl Branch
impl Branch
pub fn new( line_number: LineNumber, block: u32, branch: u32, execution_count: ExecutionCount, ) -> Self
pub fn line_number(&self) -> &LineNumber
pub fn block(&self) -> &u32
pub fn branch(&self) -> &u32
pub fn execution_count(&self) -> &ExecutionCount
Trait Implementations§
Source§impl<'a> From<&'a BranchData> for Branch
impl<'a> From<&'a BranchData> for Branch
Source§fn from(data: &'a BranchData) -> Self
fn from(data: &'a BranchData) -> Self
Converts to this type from the input type.
Source§impl PartialEq<BranchData> for Branch
impl PartialEq<BranchData> for Branch
Auto Trait Implementations§
impl Freeze for Branch
impl RefUnwindSafe for Branch
impl Send for Branch
impl Sync for Branch
impl Unpin for Branch
impl UnwindSafe for Branch
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