pub struct State { /* private fields */ }Expand description
State for the USBTMC USB class.
Implementations§
Source§impl State
impl State
Sourcepub const fn with_config(capabilities: Capabilities, usb488: bool) -> Self
pub const fn with_config(capabilities: Capabilities, usb488: bool) -> Self
Create a new State with custom capabilities and protocol mode.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for State
impl !RefUnwindSafe for State
impl !UnwindSafe for State
impl Forget for State
impl Move for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
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