Struct gdk_x11_sys::xlib::XVisualInfo
source · #[repr(C)]pub struct XVisualInfo {
pub visual: *mut Visual,
pub visualid: u32,
pub screen: i32,
pub depth: i32,
pub class: i32,
pub red_mask: u32,
pub green_mask: u32,
pub blue_mask: u32,
pub colormap_size: i32,
pub bits_per_rgb: i32,
}
Fields§
§visual: *mut Visual
§visualid: u32
§screen: i32
§depth: i32
§class: i32
§red_mask: u32
§green_mask: u32
§blue_mask: u32
§colormap_size: i32
§bits_per_rgb: i32
Trait Implementations§
source§impl Clone for XVisualInfo
impl Clone for XVisualInfo
source§fn clone(&self) -> XVisualInfo
fn clone(&self) -> XVisualInfo
Returns a copy 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 XVisualInfo
impl Debug for XVisualInfo
source§impl PartialEq<XVisualInfo> for XVisualInfo
impl PartialEq<XVisualInfo> for XVisualInfo
source§fn eq(&self, other: &XVisualInfo) -> bool
fn eq(&self, other: &XVisualInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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