pub struct AsmOperands { /* private fields */ }Expand description
The operands of one assembly statement, in the order the template counts them.
Implementations§
Source§impl AsmOperands
impl AsmOperands
Sourcepub fn read(
constraints: &str,
results: &[Value],
values: &[Value],
) -> Option<AsmOperands>
pub fn read( constraints: &str, results: &[Value], values: &[Value], ) -> Option<AsmOperands>
The operands of a statement with that constraint list, those results and those values.
Nothing when the list does not describe what the instruction carries, which is what a constraint that is not the whole story looks like from here. See the module documentation.
Sourcepub fn iter(&self) -> impl Iterator<Item = &AsmOperand>
pub fn iter(&self) -> impl Iterator<Item = &AsmOperand>
The operands, in the order the template counts them.
Trait Implementations§
Source§impl Clone for AsmOperands
impl Clone for AsmOperands
Source§fn clone(&self) -> AsmOperands
fn clone(&self) -> AsmOperands
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsmOperands
impl Debug for AsmOperands
impl Eq for AsmOperands
Source§impl PartialEq for AsmOperands
impl PartialEq for AsmOperands
impl StructuralPartialEq for AsmOperands
Auto Trait Implementations§
impl Freeze for AsmOperands
impl RefUnwindSafe for AsmOperands
impl Send for AsmOperands
impl Sync for AsmOperands
impl Unpin for AsmOperands
impl UnsafeUnpin for AsmOperands
impl UnwindSafe for AsmOperands
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