#[repr(C)]pub struct VncFramebufferInterface {Show 14 fields
pub parent: GTypeInterface,
pub get_width: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> u16>,
pub get_height: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> u16>,
pub get_rowstride: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> c_int>,
pub get_buffer: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> *mut u8>,
pub get_local_format: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> *const VncPixelFormat>,
pub get_remote_format: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> *const VncPixelFormat>,
pub perfect_format_match: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> gboolean>,
pub set_pixel_at: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, u16, u16)>,
pub fill: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, u16, u16, u16, u16)>,
pub copyrect: Option<unsafe extern "C" fn(*mut VncFramebuffer, u16, u16, u16, u16, u16, u16)>,
pub blt: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, c_int, u16, u16, u16, u16)>,
pub rgb24_blt: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, c_int, u16, u16, u16, u16)>,
pub set_color_map: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut VncColorMap)>,
}
Fields§
§parent: GTypeInterface
§get_width: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> u16>
§get_height: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> u16>
§get_rowstride: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> c_int>
§get_buffer: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> *mut u8>
§get_local_format: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> *const VncPixelFormat>
§get_remote_format: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> *const VncPixelFormat>
§perfect_format_match: Option<unsafe extern "C" fn(*mut VncFramebuffer) -> gboolean>
§set_pixel_at: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, u16, u16)>
§fill: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, u16, u16, u16, u16)>
§copyrect: Option<unsafe extern "C" fn(*mut VncFramebuffer, u16, u16, u16, u16, u16, u16)>
§blt: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, c_int, u16, u16, u16, u16)>
§rgb24_blt: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut u8, c_int, u16, u16, u16, u16)>
§set_color_map: Option<unsafe extern "C" fn(*mut VncFramebuffer, *mut VncColorMap)>
Trait Implementations§
Source§impl Clone for VncFramebufferInterface
impl Clone for VncFramebufferInterface
Source§fn clone(&self) -> VncFramebufferInterface
fn clone(&self) -> VncFramebufferInterface
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 VncFramebufferInterface
impl Debug for VncFramebufferInterface
impl Copy for VncFramebufferInterface
Auto Trait Implementations§
impl Freeze for VncFramebufferInterface
impl RefUnwindSafe for VncFramebufferInterface
impl Send for VncFramebufferInterface
impl Sync for VncFramebufferInterface
impl Unpin for VncFramebufferInterface
impl UnwindSafe for VncFramebufferInterface
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