Struct harte_tests::TestState

source ·
pub(crate) struct TestState {
Show 21 fields pub(crate) d0: u32, pub(crate) d1: u32, pub(crate) d2: u32, pub(crate) d3: u32, pub(crate) d4: u32, pub(crate) d5: u32, pub(crate) d6: u32, pub(crate) d7: u32, pub(crate) a0: u32, pub(crate) a1: u32, pub(crate) a2: u32, pub(crate) a3: u32, pub(crate) a4: u32, pub(crate) a5: u32, pub(crate) a6: u32, pub(crate) usp: u32, pub(crate) ssp: u32, pub(crate) sr: u16, pub(crate) pc: u32, pub(crate) prefetch: Vec<u16>, pub(crate) ram: Vec<(u32, u8)>,
}

Fields§

§d0: u32§d1: u32§d2: u32§d3: u32§d4: u32§d5: u32§d6: u32§d7: u32§a0: u32§a1: u32§a2: u32§a3: u32§a4: u32§a5: u32§a6: u32§usp: u32§ssp: u32§sr: u16§pc: u32§prefetch: Vec<u16>§ram: Vec<(u32, u8)>

Implementations§

source§

impl TestState

source

pub fn dump(&self)

Trait Implementations§

source§

impl Debug for TestState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TestState

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, S> IntoAddress<T> for S
where T: FromAddress<S>,

source§

fn into_address(self) -> T

Translate the given address into an address of type T
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,