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
fn clone(&self) -> XVisualInfo
fn clone(&self) -> XVisualInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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 ==
. Read more
fn ne(&self, other: &XVisualInfo) -> bool
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more