pub struct Device { /* private fields */ }
Implementations§
Source§impl Device
impl Device
pub fn set_auto_configure(&self, enabled: bool) -> Result<()>
pub fn reset(&self) -> Result<()>
pub fn set_enabled(&self, enabled: bool) -> Result<()>
pub fn analog_out(&self, ix: u32) -> AnalogOut<'_>
pub fn analog_io(&self) -> AnalogIO<'_>
pub fn analog_input(&self) -> AnalogIn<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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