[][src]Struct libftdi1_sys::ftdi_context

#[repr(C)]pub struct ftdi_context {
    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,
}

Fields

usb_ctx: *mut libusb_contextusb_dev: *mut libusb_device_handleusb_read_timeout: c_intusb_write_timeout: c_inttype_: ftdi_chip_typebaudrate: c_intbitbang_enabled: c_ucharreadbuffer: *mut c_ucharreadbuffer_offset: c_uintreadbuffer_remaining: c_uintreadbuffer_chunksize: c_uintwritebuffer_chunksize: c_uintmax_packet_size: c_uintinterface: c_intindex: c_intin_ep: c_intout_ep: c_intbitbang_mode: c_uchareeprom: *mut ftdi_eepromerror_str: *const c_charmodule_detach_mode: ftdi_module_detach_mode

Trait Implementations

impl Debug for ftdi_context[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.