pub struct NiFpgaContext();
Expand description
An NI FPGA context must be initialized and active for the FPGA functions to work.
We wrap this type in an Arc so that it can be shared between sessions and automatically destruct when no more sessions are active or it is out of scope.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NiFpgaContext
impl RefUnwindSafe for NiFpgaContext
impl Send for NiFpgaContext
impl Sync for NiFpgaContext
impl Unpin for NiFpgaContext
impl UnwindSafe for NiFpgaContext
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