Struct x11_dl::xlib::XVisualInfo [−][src]
#[repr(C)]pub struct XVisualInfo { pub visual: *mut Visual, pub visualid: VisualID, pub screen: c_int, pub depth: c_int, pub class: c_int, pub red_mask: c_ulong, pub green_mask: c_ulong, pub blue_mask: c_ulong, pub colormap_size: c_int, pub bits_per_rgb: c_int, }
Fields
visual: *mut Visual
visualid: VisualID
screen: c_int
depth: c_int
class: c_int
red_mask: c_ulong
green_mask: c_ulong
blue_mask: c_ulong
colormap_size: c_int
bits_per_rgb: c_int
Trait Implementations
impl Clone for XVisualInfo
[src]
fn clone(&self) -> XVisualInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for XVisualInfo
[src]
impl Debug for XVisualInfo
[src]
impl PartialEq<XVisualInfo> for XVisualInfo
[src]
fn eq(&self, other: &XVisualInfo) -> bool
[src]
fn ne(&self, other: &XVisualInfo) -> bool
[src]
impl StructuralPartialEq for XVisualInfo
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,