Struct g13_rs::Device [−][src]
pub struct Device<'a> { /* fields omitted */ }
Methods
impl<'a> Device<'a>
[src]
impl<'a> Device<'a>
pub fn open(usb_device: &'a UsbDevice) -> Result<Device<'a>, Error>
[src]
pub fn open(usb_device: &'a UsbDevice) -> Result<Device<'a>, Error>
pub fn set_color(&self, r: u8, g: u8, b: u8) -> Result<(), Error>
[src]
pub fn set_color(&self, r: u8, g: u8, b: u8) -> Result<(), Error>
pub fn write_lcd(&self, data: [u8; 960]) -> Result<(), Error>
[src]
pub fn write_lcd(&self, data: [u8; 960]) -> Result<(), Error>