Struct ArchComparisonSummary
pub struct ArchComparisonSummary<A: Arch, C: Computation> {
pub architectures: Vec<ArchInfo>,
pub encodings: Vec<SharedEncodingGroup>,
pub index: IndexedEncodings<A, C>,
}
Expand description
A collection of architectures and encoding groups that describes which encodings are semantically equivalent between different architectures.
Fields§
§architectures: Vec<ArchInfo>
ArchInfo
for each architecture.
encodings: Vec<SharedEncodingGroup>
Groups of encodings and their semantics.
index: IndexedEncodings<A, C>
An indexing of EncodingId
to Encoding
.
Trait Implementations§
§impl<'de, A: Arch, C> Deserialize<'de> for ArchComparisonSummary<A, C>where
C: Deserialize<'de> + Computation,
impl<'de, A: Arch, C> Deserialize<'de> for ArchComparisonSummary<A, C>where
C: Deserialize<'de> + Computation,
§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<A: Arch, C> Serialize for ArchComparisonSummary<A, C>where
C: Serialize + Computation,
impl<A: Arch, C> Serialize for ArchComparisonSummary<A, C>where
C: Serialize + Computation,
Auto Trait Implementations§
impl<A, C> Freeze for ArchComparisonSummary<A, C>
impl<A, C> RefUnwindSafe for ArchComparisonSummary<A, C>
impl<A, C> Send for ArchComparisonSummary<A, C>where
C: Send,
impl<A, C> Sync for ArchComparisonSummary<A, C>where
C: Sync,
impl<A, C> Unpin for ArchComparisonSummary<A, C>
impl<A, C> UnwindSafe for ArchComparisonSummary<A, C>
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
§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