#[repr(C)]
pub struct ftdi_context {Show 21 fields
pub usb_ctx: *mut libusb_context,
pub usb_dev: *mut libusb_device_handle,
pub usb_read_timeout: c_int,
pub usb_write_timeout: c_int,
pub type_: ftdi_chip_type,
pub baudrate: c_int,
pub bitbang_enabled: c_uchar,
pub readbuffer: *mut c_uchar,
pub readbuffer_offset: c_uint,
pub readbuffer_remaining: c_uint,
pub readbuffer_chunksize: c_uint,
pub writebuffer_chunksize: c_uint,
pub max_packet_size: c_uint,
pub interface: c_int,
pub index: c_int,
pub in_ep: c_int,
pub out_ep: c_int,
pub bitbang_mode: c_uchar,
pub eeprom: *mut ftdi_eeprom,
pub error_str: *const c_char,
pub module_detach_mode: ftdi_module_detach_mode,
}
readbuffer_remaining: c_uint
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.