Enum FilledLocation
pub enum FilledLocation<A: Arch> {
Concrete(Location<A>),
Part(PartIndex),
}
Expand description
A storage location, which might be a concrete Location
or a location that depends on a part in the instruction bitstring.
Variants§
Concrete(Location<A>)
A location that is not influenced by a part value.
Part(PartIndex)
A location whose target depends on the value of a part.
Trait Implementations§
§impl<A: Clone + Arch> Clone for FilledLocation<A>
impl<A: Clone + Arch> Clone for FilledLocation<A>
§fn clone(&self) -> FilledLocation<A>
fn clone(&self) -> FilledLocation<A>
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<A: Debug + Arch> Debug for FilledLocation<A>
impl<A: Debug + Arch> Debug for FilledLocation<A>
§impl<A: Arch> From<FilledOutput<A>> for FilledLocation<A>
impl<A: Arch> From<FilledOutput<A>> for FilledLocation<A>
§fn from(value: FilledOutput<A>) -> Self
fn from(value: FilledOutput<A>) -> Self
Converts to this type from the input type.
§impl<A: Hash + Arch> Hash for FilledLocation<A>
impl<A: Hash + Arch> Hash for FilledLocation<A>
§impl<A: PartialEq + Arch> PartialEq for FilledLocation<A>
impl<A: PartialEq + Arch> PartialEq for FilledLocation<A>
impl<A: Copy + Arch> Copy for FilledLocation<A>
impl<A: Eq + Arch> Eq for FilledLocation<A>
impl<A: Arch> StructuralPartialEq for FilledLocation<A>
Auto Trait Implementations§
impl<A> Freeze for FilledLocation<A>
impl<A> RefUnwindSafe for FilledLocation<A>
impl<A> Send for FilledLocation<A>
impl<A> Sync for FilledLocation<A>
impl<A> Unpin for FilledLocation<A>
impl<A> UnwindSafe for FilledLocation<A>
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