Struct PrefixScope
pub struct PrefixScope;
Expand description
A prefix scope for enumeration. This prefix scope aims to achieve maximal coverage, with acceptable runtime.
The prefix enforces a prefix ordering:
- LOCK
- REX prefix
Additionally, it excludes the following prefixes:
- REP/REPNZ
- Segment overrides
- Data size overrides
- Address size overrides
Trait Implementations§
§impl Clone for PrefixScope
impl Clone for PrefixScope
§fn clone(&self) -> PrefixScope
fn clone(&self) -> PrefixScope
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 more§impl Debug for PrefixScope
impl Debug for PrefixScope
§impl Default for PrefixScope
impl Default for PrefixScope
§fn default() -> PrefixScope
fn default() -> PrefixScope
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for PrefixScope
impl<'de> Deserialize<'de> for PrefixScope
§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
§impl Hash for PrefixScope
impl Hash for PrefixScope
§impl JsonSchema for PrefixScope
impl JsonSchema for PrefixScope
§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read more§impl Ord for PrefixScope
impl Ord for PrefixScope
§impl PartialEq for PrefixScope
impl PartialEq for PrefixScope
§impl PartialOrd for PrefixScope
impl PartialOrd for PrefixScope
§impl Scope for PrefixScope
impl Scope for PrefixScope
§fn is_instr_in_scope(&self, b: &[u8]) -> bool
fn is_instr_in_scope(&self, b: &[u8]) -> bool
Returns true if and only if
instr
should be enumerated.§impl Serialize for PrefixScope
impl Serialize for PrefixScope
impl Copy for PrefixScope
impl Eq for PrefixScope
impl StructuralPartialEq for PrefixScope
Auto Trait Implementations§
impl Freeze for PrefixScope
impl RefUnwindSafe for PrefixScope
impl Send for PrefixScope
impl Sync for PrefixScope
impl Unpin for PrefixScope
impl UnwindSafe for PrefixScope
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more