pub struct AsmInfo {
pub template: Symbol,
pub constraints: Symbol,
pub clobbers: Symbol,
pub targets: BlockCallList,
}Expand description
What inline assembly needs.
The semantics belong to the inline assembly document. What is here is the shape: a
template, the constraints, the clobbers, and the successors that make asm goto the one
instruction whose being a terminator is a property of the instruction and not the opcode.
Fields§
§template: SymbolThe template string, as written.
constraints: SymbolThe constraint list, as written.
clobbers: SymbolThe clobber list, as written.
targets: BlockCallListThe labels, which are empty for everything except asm goto.
Trait Implementations§
impl Copy for AsmInfo
impl Eq for AsmInfo
impl StructuralPartialEq for AsmInfo
Auto Trait Implementations§
impl Freeze for AsmInfo
impl RefUnwindSafe for AsmInfo
impl Send for AsmInfo
impl Sync for AsmInfo
impl Unpin for AsmInfo
impl UnsafeUnpin for AsmInfo
impl UnwindSafe for AsmInfo
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