Struct zydis::ffi::RawImmediateInfo
source · [−]#[repr(C)]pub struct RawImmediateInfo {
pub is_signed: bool,
pub is_relative: bool,
pub value: u64,
pub size: u8,
pub offset: u8,
}
Fields
is_signed: bool
Signals, if the immediate value is signed.
is_relative: bool
Signals, if the immediate value contains a relative offset. You can use
calc_absolute_address
to determine the absolute address value.
value: u64
The immediate value.
This is an i64
if is_signed
is true.
size: u8
The physical immediate size, in bits.
offset: u8
The offset of the immediate data, relative to the beginning of the instruction, in bytes.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RawImmediateInfo
impl Send for RawImmediateInfo
impl Sync for RawImmediateInfo
impl Unpin for RawImmediateInfo
impl UnwindSafe for RawImmediateInfo
Blanket Implementations
Mutably borrows from an owned value. Read more