Enum zydis::BranchWidth
source · #[repr(C)]pub enum BranchWidth {
NONE = 0,
_8 = 1,
_16 = 2,
_32 = 3,
_64 = 4,
}
Expand description
Defines encodable physical/effective sizes of relative immediate operands. See ZydisEncoderRequest.branch_width
for more details.
Variants§
Trait Implementations§
source§impl Clone for BranchWidth
impl Clone for BranchWidth
source§fn clone(&self) -> BranchWidth
fn clone(&self) -> BranchWidth
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 BranchWidth
impl Debug for BranchWidth
source§impl<'de> Deserialize<'de> for BranchWidth
impl<'de> Deserialize<'de> for BranchWidth
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 BranchWidth
impl Hash for BranchWidth
source§impl PartialEq for BranchWidth
impl PartialEq for BranchWidth
source§fn eq(&self, other: &BranchWidth) -> bool
fn eq(&self, other: &BranchWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BranchWidth
impl Serialize for BranchWidth
impl Copy for BranchWidth
impl Eq for BranchWidth
impl StructuralPartialEq for BranchWidth
Auto Trait Implementations§
impl RefUnwindSafe for BranchWidth
impl Send for BranchWidth
impl Sync for BranchWidth
impl Unpin for BranchWidth
impl UnwindSafe for BranchWidth
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