Enum zydis::BranchType
source · #[repr(C)]pub enum BranchType {
NONE = 0,
SHORT = 1,
NEAR = 2,
FAR = 3,
}
Expand description
Defines the ZydisBranchType
enum.
Variants§
NONE = 0
The instruction is not a branch instruction.
SHORT = 1
The instruction is a short (8-bit) branch instruction.
NEAR = 2
The instruction is a near (16-bit or 32-bit) branch instruction.
FAR = 3
The instruction is a far (inter-segment) branch instruction.
Trait Implementations§
source§impl Clone for BranchType
impl Clone for BranchType
source§fn clone(&self) -> BranchType
fn clone(&self) -> BranchType
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 BranchType
impl Debug for BranchType
source§impl<'de> Deserialize<'de> for BranchType
impl<'de> Deserialize<'de> for BranchType
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 Hash for BranchType
impl Hash for BranchType
source§impl PartialEq for BranchType
impl PartialEq for BranchType
source§fn eq(&self, other: &BranchType) -> bool
fn eq(&self, other: &BranchType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BranchType
impl Serialize for BranchType
impl Copy for BranchType
impl Eq for BranchType
impl StructuralPartialEq for BranchType
Auto Trait Implementations§
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