Enum zydis::Signedness
source · #[repr(C)]pub enum Signedness {
AUTO = 0,
SIGNED = 1,
UNSIGNED = 2,
}
Expand description
Enum defining the signeness of integers to be used during formatting.
Variants§
AUTO = 0
Automatically choose the most suitable mode based on the operands ZydisDecodedOperand.imm.is_signed` attribute.
SIGNED = 1
Force signed values.
UNSIGNED = 2
Force unsigned values.
Trait Implementations§
source§impl Clone for Signedness
impl Clone for Signedness
source§fn clone(&self) -> Signedness
fn clone(&self) -> Signedness
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 Signedness
impl Debug for Signedness
source§impl<'de> Deserialize<'de> for Signedness
impl<'de> Deserialize<'de> for Signedness
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 Signedness
impl Hash for Signedness
source§impl PartialEq for Signedness
impl PartialEq for Signedness
source§fn eq(&self, other: &Signedness) -> bool
fn eq(&self, other: &Signedness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Signedness
impl Serialize for Signedness
impl Copy for Signedness
impl Eq for Signedness
impl StructuralPartialEq for Signedness
Auto Trait Implementations§
impl RefUnwindSafe for Signedness
impl Send for Signedness
impl Sync for Signedness
impl Unpin for Signedness
impl UnwindSafe for Signedness
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