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