Struct autd3_firmware_emulator::Emulator
source · [−]pub struct Emulator { /* private fields */ }Implementations
sourceimpl Emulator
impl Emulator
pub fn new(n: usize) -> Self
pub fn init(&mut self)
pub fn send(&mut self, tx: &TxDatagram)
pub fn read(&mut self, rx: &mut RxDatagram)
pub fn cpu(&self, i: usize) -> &CPUEmulator
pub fn cpus(&self) -> &[CPUEmulator]
pub fn fpga(&self, i: usize) -> &FPGAEmulator
Auto Trait Implementations
impl RefUnwindSafe for Emulator
impl Send for Emulator
impl Sync for Emulator
impl Unpin for Emulator
impl UnwindSafe for Emulator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more