pub struct Programmer { /* private fields */ }Implementations§
Source§impl Programmer
impl Programmer
pub fn open() -> Result<Self>
pub fn open_with_transport(transport: TransportConfig) -> Result<Self>
pub fn board(&self) -> &Board
pub fn board_mut(&mut self) -> &mut Board
pub fn program(&mut self, bitfile: impl AsRef<Path>) -> Result<()>
pub fn close(self) -> Result<()>
Auto Trait Implementations§
impl Freeze for Programmer
impl RefUnwindSafe for Programmer
impl Send for Programmer
impl Sync for Programmer
impl Unpin for Programmer
impl UnsafeUnpin for Programmer
impl UnwindSafe for Programmer
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