Struct gdk_x11_sys::xlib::XVisualInfo [−]
#[repr(C)]pub struct XVisualInfo { pub visual: *mut Visual, pub visualid: u64, pub screen: i32, pub depth: i32, pub class: i32, pub red_mask: u64, pub green_mask: u64, pub blue_mask: u64, pub colormap_size: i32, pub bits_per_rgb: i32, }
Fields
visual: *mut Visual
visualid: u64
screen: i32
depth: i32
class: i32
red_mask: u64
green_mask: u64
blue_mask: u64
colormap_size: i32
bits_per_rgb: i32
Trait Implementations
impl Clone for XVisualInfo
impl Clone for XVisualInfo
pub fn clone(&self) -> XVisualInfo
pub fn clone(&self) -> XVisualInfo
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for XVisualInfo
impl Debug for XVisualInfo
impl PartialEq<XVisualInfo> for XVisualInfo
impl PartialEq<XVisualInfo> for XVisualInfo
pub fn eq(&self, other: &XVisualInfo) -> bool
pub fn eq(&self, other: &XVisualInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &XVisualInfo) -> bool
pub fn ne(&self, other: &XVisualInfo) -> bool
This method tests for !=
.
impl Copy for XVisualInfo
impl StructuralPartialEq for XVisualInfo
Auto Trait Implementations
impl RefUnwindSafe for XVisualInfo
impl !Send for XVisualInfo
impl !Sync for XVisualInfo
impl Unpin for XVisualInfo
impl UnwindSafe for XVisualInfo
Blanket Implementations
Mutably borrows from an owned value. Read more