#[repr(u32)]pub enum BranchType {
UnconditionalBranch = 0,
FalseBranch = 1,
TrueBranch = 2,
CallDestination = 3,
FunctionReturn = 4,
SystemCall = 5,
IndirectBranch = 6,
ExceptionBranch = 7,
UnresolvedBranch = 127,
UserDefinedBranch = 128,
}
Variants§
UnconditionalBranch = 0
FalseBranch = 1
TrueBranch = 2
CallDestination = 3
FunctionReturn = 4
SystemCall = 5
IndirectBranch = 6
ExceptionBranch = 7
UnresolvedBranch = 127
UserDefinedBranch = 128
Trait Implementations§
source§impl Clone for BNBranchType
impl Clone for BNBranchType
source§fn clone(&self) -> BNBranchType
fn clone(&self) -> BNBranchType
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 BNBranchType
impl Debug for BNBranchType
source§impl From<BranchInfo> for BNBranchType
impl From<BranchInfo> for BNBranchType
source§fn from(value: BranchInfo) -> Self
fn from(value: BranchInfo) -> Self
Converts to this type from the input type.
source§impl Hash for BNBranchType
impl Hash for BNBranchType
source§impl PartialEq for BNBranchType
impl PartialEq for BNBranchType
impl Copy for BNBranchType
impl Eq for BNBranchType
impl StructuralPartialEq for BNBranchType
Auto Trait Implementations§
impl Freeze for BNBranchType
impl RefUnwindSafe for BNBranchType
impl Send for BNBranchType
impl Sync for BNBranchType
impl Unpin for BNBranchType
impl UnwindSafe for BNBranchType
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