#[repr(C)]
pub struct maple_state_t {Show 14 fields
pub driver_list: maple_driver_list,
pub frame_queue: maple_frame_queue,
pub ports: [maple_port_t; 4],
pub dma_cntr: c_int,
pub vbl_cntr: c_int,
pub dma_buffer: *mut u8,
pub dma_in_progress: c_int,
pub detect_port_next: c_int,
pub detect_unit_next: c_int,
pub detect_wrapped: c_int,
pub vbl_handle: c_int,
pub gun_port: c_int,
pub gun_x: c_int,
pub gun_y: c_int,
}
§vbl_handle: c_int
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.