Struct libvnc_sys::rfb::rfbCursor
source · #[repr(C)]pub struct rfbCursor {Show 19 fields
pub cleanup: rfbBool,
pub cleanupSource: rfbBool,
pub cleanupMask: rfbBool,
pub cleanupRichSource: rfbBool,
pub source: *mut c_uchar,
pub mask: *mut c_uchar,
pub width: c_ushort,
pub height: c_ushort,
pub xhot: c_ushort,
pub yhot: c_ushort,
pub foreRed: c_ushort,
pub foreGreen: c_ushort,
pub foreBlue: c_ushort,
pub backRed: c_ushort,
pub backGreen: c_ushort,
pub backBlue: c_ushort,
pub richSource: *mut c_uchar,
pub alphaSource: *mut c_uchar,
pub alphaPreMultiplied: rfbBool,
}Fields§
§cleanup: rfbBoolset this to true if LibVNCServer has to free this cursor
cleanupSource: rfbBoolset this to true if LibVNCServer has to free this cursor
cleanupMask: rfbBoolset this to true if LibVNCServer has to free this cursor
cleanupRichSource: rfbBoolset this to true if LibVNCServer has to free this cursor
source: *mut c_uchar< points to bits
mask: *mut c_uchar< points to bits
width: c_ushort< metrics
height: c_ushort< metrics
xhot: c_ushort< metrics
yhot: c_ushort< metrics
foreRed: c_ushort< device-independent colour
foreGreen: c_ushort< device-independent colour
foreBlue: c_ushort< device-independent colour
backRed: c_ushort< device-independent colour
backGreen: c_ushort< device-independent colour
backBlue: c_ushort< device-independent colour
richSource: *mut c_uchar< source bytes for a rich cursor
alphaSource: *mut c_uchar< source for alpha blending info
alphaPreMultiplied: rfbBool< if richSource already has alpha applied
Trait Implementations§
Auto Trait Implementations§
impl Freeze for rfbCursor
impl RefUnwindSafe for rfbCursor
impl !Send for rfbCursor
impl !Sync for rfbCursor
impl Unpin for rfbCursor
impl UnwindSafe for rfbCursor
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