pub struct BranchType(pub u8);
Expand description
Branch type as used by the last branch record.
This is a field present within BranchEntry
. It is not documented in the
manpage but is present within the perf_event headers.
Tuple Fields§
§0: u8
Implementations§
Source§impl BranchType
impl BranchType
Trait Implementations§
Source§impl Clone for BranchType
impl Clone for BranchType
Source§fn clone(&self) -> BranchType
fn clone(&self) -> BranchType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BranchType
impl Debug for BranchType
Source§impl From<BranchType> for u8
impl From<BranchType> for u8
Source§fn from(value: BranchType) -> Self
fn from(value: BranchType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for BranchType
impl From<u8> for BranchType
Source§impl Hash for BranchType
impl Hash for BranchType
Source§impl PartialEq for BranchType
impl PartialEq for BranchType
impl Copy for BranchType
impl Eq for BranchType
impl StructuralPartialEq for BranchType
Auto Trait Implementations§
impl Freeze for BranchType
impl RefUnwindSafe for BranchType
impl Send for BranchType
impl Sync for BranchType
impl Unpin for BranchType
impl UnwindSafe for BranchType
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