#[repr(C)]pub struct retro_camera_callback {
pub caps: u64,
pub width: c_uint,
pub height: c_uint,
pub start: retro_camera_start_t,
pub stop: retro_camera_stop_t,
pub frame_raw_framebuffer: retro_camera_frame_raw_framebuffer_t,
pub frame_opengl_texture: retro_camera_frame_opengl_texture_t,
pub initialized: retro_camera_lifetime_status_t,
pub deinitialized: retro_camera_lifetime_status_t,
}
Fields§
§caps: u64
§width: c_uint
§height: c_uint
§start: retro_camera_start_t
§stop: retro_camera_stop_t
§frame_raw_framebuffer: retro_camera_frame_raw_framebuffer_t
§frame_opengl_texture: retro_camera_frame_opengl_texture_t
§initialized: retro_camera_lifetime_status_t
§deinitialized: retro_camera_lifetime_status_t
Trait Implementations§
Source§impl Clone for retro_camera_callback
impl Clone for retro_camera_callback
Source§fn clone(&self) -> retro_camera_callback
fn clone(&self) -> retro_camera_callback
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 retro_camera_callback
impl Debug for retro_camera_callback
impl Copy for retro_camera_callback
Auto Trait Implementations§
impl Freeze for retro_camera_callback
impl RefUnwindSafe for retro_camera_callback
impl Send for retro_camera_callback
impl Sync for retro_camera_callback
impl Unpin for retro_camera_callback
impl UnwindSafe for retro_camera_callback
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