#[repr(C)]pub struct VncPixelFormat {
pub bits_per_pixel: u8,
pub depth: u8,
pub byte_order: u16,
pub true_color_flag: u8,
pub red_max: u16,
pub green_max: u16,
pub blue_max: u16,
pub red_shift: u8,
pub green_shift: u8,
pub blue_shift: u8,
}Fields§
§bits_per_pixel: u8§depth: u8§byte_order: u16§true_color_flag: u8§red_max: u16§green_max: u16§blue_max: u16§red_shift: u8§green_shift: u8§blue_shift: u8Trait Implementations§
Source§impl Clone for VncPixelFormat
impl Clone for VncPixelFormat
Source§fn clone(&self) -> VncPixelFormat
fn clone(&self) -> VncPixelFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VncPixelFormat
Auto Trait Implementations§
impl Freeze for VncPixelFormat
impl RefUnwindSafe for VncPixelFormat
impl Send for VncPixelFormat
impl Sync for VncPixelFormat
impl Unpin for VncPixelFormat
impl UnsafeUnpin for VncPixelFormat
impl UnwindSafe for VncPixelFormat
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