Enum keystone_engine::ffi::OptionType
source · #[repr(C)]
pub enum OptionType {
SYNTAX,
SYM_RESOLVER,
}
Expand description
Runtime option for the Keystone engine.
Variants
SYNTAX
Choose syntax for input assembly.
SYM_RESOLVER
Set symbol resolver callback.
Trait Implementations
sourceimpl Clone for OptionType
impl Clone for OptionType
sourcefn clone(&self) -> OptionType
fn clone(&self) -> OptionType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OptionType
impl Debug for OptionType
sourceimpl Hash for OptionType
impl Hash for OptionType
sourceimpl Ord for OptionType
impl Ord for OptionType
sourcefn cmp(&self, other: &OptionType) -> Ordering
fn cmp(&self, other: &OptionType) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<OptionType> for OptionType
impl PartialEq<OptionType> for OptionType
sourcefn eq(&self, other: &OptionType) -> bool
fn eq(&self, other: &OptionType) -> bool
sourceimpl PartialOrd<OptionType> for OptionType
impl PartialOrd<OptionType> for OptionType
sourcefn partial_cmp(&self, other: &OptionType) -> Option<Ordering>
fn partial_cmp(&self, other: &OptionType) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OptionType
impl Eq for OptionType
impl StructuralEq for OptionType
impl StructuralPartialEq for OptionType
Auto Trait Implementations
impl RefUnwindSafe for OptionType
impl Send for OptionType
impl Sync for OptionType
impl Unpin for OptionType
impl UnwindSafe for OptionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more