Struct simavr_ffi::avr_io_t
source · #[repr(C)]pub struct avr_io_t {
pub next: *mut avr_io_t,
pub avr: *mut avr_t,
pub kind: *const c_char,
pub irq_names: *mut *const c_char,
pub irq_ioctl_get: u32,
pub irq_count: c_int,
pub irq: *mut avr_irq_t,
pub reset: Option<unsafe extern "C" fn(io: *mut avr_io_t)>,
pub ioctl: Option<unsafe extern "C" fn(io: *mut avr_io_t, ctl: u32, io_param: *mut c_void) -> c_int>,
pub dealloc: Option<unsafe extern "C" fn(io: *mut avr_io_t)>,
}Fields§
§next: *mut avr_io_t§avr: *mut avr_t§kind: *const c_char§irq_names: *mut *const c_char§irq_ioctl_get: u32§irq_count: c_int§irq: *mut avr_irq_t§reset: Option<unsafe extern "C" fn(io: *mut avr_io_t)>§ioctl: Option<unsafe extern "C" fn(io: *mut avr_io_t, ctl: u32, io_param: *mut c_void) -> c_int>§dealloc: Option<unsafe extern "C" fn(io: *mut avr_io_t)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for avr_io_t
impl RefUnwindSafe for avr_io_t
impl !Send for avr_io_t
impl !Sync for avr_io_t
impl Unpin for avr_io_t
impl UnwindSafe for avr_io_t
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