pub struct Prefixes {
pub group1: Option<Group1Prefix>,
pub group2: Option<Group2Prefix>,
pub group3: Option<Group3Prefix>,
pub group4: Option<Group4Prefix>,
}
Expand description
The allowed prefixes for an instruction. From the reference manual (section 2.1.1):
Instruction prefixes are divided into four groups, each with a set of allowable prefix codes. For each instruction, it is only useful to include up to one prefix code from each of the four groups (Groups 1, 2, 3, 4). Groups 1 through 4 may be placed in any order relative to each other.
Fields§
§group1: Option<Group1Prefix>
§group2: Option<Group2Prefix>
§group3: Option<Group3Prefix>
§group4: Option<Group4Prefix>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prefixes
impl RefUnwindSafe for Prefixes
impl Send for Prefixes
impl Sync for Prefixes
impl Unpin for Prefixes
impl UnwindSafe for Prefixes
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