Struct logitech_lcd_sys::LogitechLcd
[−]
[src]
pub struct LogitechLcd { pub LogiLcdInit: unsafe extern "C" fn(friendlyName: *const u16, lcdType: c_uint) -> bool, pub LogiLcdIsConnected: unsafe extern "C" fn(lcdType: c_uint) -> bool, pub LogiLcdIsButtonPressed: unsafe extern "C" fn(button: c_uint) -> bool, pub LogiLcdUpdate: unsafe extern "C" fn(), pub LogiLcdShutdown: unsafe extern "C" fn(), pub LogiLcdMonoSetBackground: unsafe extern "C" fn(monoBitmap: *const u8) -> bool, pub LogiLcdMonoSetText: unsafe extern "C" fn(lineNumber: c_int, text: *const u16) -> bool, pub LogiLcdColorSetBackground: unsafe extern "C" fn(colorBitmap: *const u8) -> bool, pub LogiLcdColorSetTitle: unsafe extern "C" fn(text: *const u16, red: c_int, green: c_int, blue: c_int) -> bool, pub LogiLcdColorSetText: unsafe extern "C" fn(lineNumber: c_int, text: *const u16, red: c_int, green: c_int, blue: c_int) -> bool, pub LogiLcdColorSetBackgroundUDK: unsafe extern "C" fn(partialBitmap: *const u8, arraySize: c_int) -> c_int, pub LogiLcdColorResetBackgroundUDK: unsafe extern "C" fn() -> c_int, pub LogiLcdMonoSetBackgroundUDK: unsafe extern "C" fn(partialBitmap: *const u8, arraySize: c_int) -> c_int, pub LogiLcdMonoResetBackgroundUDK: unsafe extern "C" fn() -> c_int, // some fields omitted }
LogitechLcd library.
Contains library symbols/functions as fields. Will unload library when dropped.
Fields
LogiLcdInit: unsafe extern "C" fn(friendlyName: *const u16, lcdType: c_uint) -> bool
LogiLcdIsConnected: unsafe extern "C" fn(lcdType: c_uint) -> bool
LogiLcdIsButtonPressed: unsafe extern "C" fn(button: c_uint) -> bool
LogiLcdUpdate: unsafe extern "C" fn()
LogiLcdShutdown: unsafe extern "C" fn()
LogiLcdMonoSetBackground: unsafe extern "C" fn(monoBitmap: *const u8) -> bool
LogiLcdMonoSetText: unsafe extern "C" fn(lineNumber: c_int, text: *const u16) -> bool
LogiLcdColorSetBackground: unsafe extern "C" fn(colorBitmap: *const u8) -> bool
LogiLcdColorSetTitle: unsafe extern "C" fn(text: *const u16, red: c_int, green: c_int, blue: c_int) -> bool
LogiLcdColorSetText: unsafe extern "C" fn(lineNumber: c_int, text: *const u16, red: c_int, green: c_int, blue: c_int) -> bool
LogiLcdColorSetBackgroundUDK: unsafe extern "C" fn(partialBitmap: *const u8, arraySize: c_int) -> c_int
LogiLcdColorResetBackgroundUDK: unsafe extern "C" fn() -> c_int
LogiLcdMonoSetBackgroundUDK: unsafe extern "C" fn(partialBitmap: *const u8, arraySize: c_int) -> c_int
LogiLcdMonoResetBackgroundUDK: unsafe extern "C" fn() -> c_int