Struct Split
pub struct Split<A: Arch, C: Computation> {
pub mask: u32,
pub groups: Vec<SplitEntry<A, C>>,
}
Expand description
Sets of encodings that do not overlap with any of the other sets.
Fields§
§mask: u32
The mask used.
groups: Vec<SplitEntry<A, C>>
Groups of encodings that don’t overlap with any of the other groups.
Implementations§
§impl<A: Arch, C: Computation> Split<A, C>
impl<A: Arch, C: Computation> Split<A, C>
pub fn by_fixed_bits(encodings: Vec<EncodingWithFilters<A, C>>) -> Split<A, C>
pub fn by_fixed_bits(encodings: Vec<EncodingWithFilters<A, C>>) -> Split<A, C>
Splits the encodings by bits that are fixed in all encodings.
Auto Trait Implementations§
impl<A, C> Freeze for Split<A, C>
impl<A, C> RefUnwindSafe for Split<A, C>
impl<A, C> Send for Split<A, C>where
C: Send,
impl<A, C> Sync for Split<A, C>where
C: Sync,
impl<A, C> Unpin for Split<A, C>
impl<A, C> UnwindSafe for Split<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