#[repr(C)]pub struct GB_printer_t {Show 18 fields
pub command_state: GB_printer_t__bindgen_ty_1,
pub command_id: GB_printer_t__bindgen_ty_2,
pub compression: bool,
pub length_left: u16,
pub command_data: [u8; 640],
pub command_length: u16,
pub checksum: u16,
pub status: u8,
pub byte_to_send: u8,
pub image: [u8; 32000],
pub image_offset: u16,
pub idle_time: u32,
pub time_remaining: u32,
pub compression_run_lenth: u8,
pub compression_run_is_compressed: bool,
pub bits_received: u8,
pub byte_being_received: u8,
pub bit_to_send: bool,
}Fields§
§command_state: GB_printer_t__bindgen_ty_1§command_id: GB_printer_t__bindgen_ty_2§compression: bool§length_left: u16§command_data: [u8; 640]§command_length: u16§checksum: u16§status: u8§byte_to_send: u8§image: [u8; 32000]§image_offset: u16§idle_time: u32§time_remaining: u32§compression_run_lenth: u8§compression_run_is_compressed: bool§bits_received: u8§byte_being_received: u8§bit_to_send: boolTrait Implementations§
Source§impl Clone for GB_printer_t
impl Clone for GB_printer_t
Source§fn clone(&self) -> GB_printer_t
fn clone(&self) -> GB_printer_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GB_printer_t
impl Debug for GB_printer_t
impl Copy for GB_printer_t
Auto Trait Implementations§
impl Freeze for GB_printer_t
impl RefUnwindSafe for GB_printer_t
impl Send for GB_printer_t
impl Sync for GB_printer_t
impl Unpin for GB_printer_t
impl UnwindSafe for GB_printer_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