Struct SystemStateIoPair
pub struct SystemStateIoPair<'a, A: Arch> {
pub state_in: &'a SystemState<A>,
pub state_out: &'a SystemState<A>,
}
Expand description
An input-output pair of SystemState
s.
Fields§
§state_in: &'a SystemState<A>
The input state
state_out: &'a SystemState<A>
The observed output state after executing an instruction in state_in
.
Trait Implementations§
§impl<'a, A: Clone + Arch> Clone for SystemStateIoPair<'a, A>
impl<'a, A: Clone + Arch> Clone for SystemStateIoPair<'a, A>
§fn clone(&self) -> SystemStateIoPair<'a, A>
fn clone(&self) -> SystemStateIoPair<'a, 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, A: Debug + Arch> Debug for SystemStateIoPair<'a, A>
impl<'a, A: Debug + Arch> Debug for SystemStateIoPair<'a, A>
§impl<'a, A: Arch> From<(&'a SystemState<A>, &'a SystemState<A>)> for SystemStateIoPair<'a, A>
impl<'a, A: Arch> From<(&'a SystemState<A>, &'a SystemState<A>)> for SystemStateIoPair<'a, A>
§fn from((state_in, state_out): (&'a SystemState<A>, &'a SystemState<A>)) -> Self
fn from((state_in, state_out): (&'a SystemState<A>, &'a SystemState<A>)) -> Self
Converts to this type from the input type.
impl<'a, A: Copy + Arch> Copy for SystemStateIoPair<'a, A>
Auto Trait Implementations§
impl<'a, A> Freeze for SystemStateIoPair<'a, A>
impl<'a, A> RefUnwindSafe for SystemStateIoPair<'a, A>
impl<'a, A> Send for SystemStateIoPair<'a, A>
impl<'a, A> Sync for SystemStateIoPair<'a, A>
impl<'a, A> Unpin for SystemStateIoPair<'a, A>
impl<'a, A> UnwindSafe for SystemStateIoPair<'a, 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<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