Skip to main content

SwpEmitter

Trait SwpEmitter 

Source
pub trait SwpEmitter<T0, T1, T2> {
    // Required method
    fn swp(&mut self, rs: T0, rd: T1, addr: T2);
}
Expand description

Emits the SWP instruction. Assembly forms: SWP WS, WD, [XN|SP]; SWP XS, XD, [XN|SP]. Operands: rs, rd, addr.

Required Methods§

Source

fn swp(&mut self, rs: T0, rd: T1, addr: T2)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§