Struct x11::xlib::Visual[][src]

#[repr(C)]pub struct Visual {
    pub ext_data: *mut XExtData,
    pub visualid: VisualID,
    pub class: c_int,
    pub red_mask: c_ulong,
    pub green_mask: c_ulong,
    pub blue_mask: c_ulong,
    pub bits_per_rgb: c_int,
    pub map_entries: c_int,
}

Fields

ext_data: *mut XExtDatavisualid: VisualIDclass: c_intred_mask: c_ulonggreen_mask: c_ulongblue_mask: c_ulongbits_per_rgb: c_intmap_entries: c_int

Trait Implementations

impl Clone for Visual[src]

impl Copy for Visual[src]

impl Debug for Visual[src]

impl PartialEq<Visual> for Visual[src]

impl StructuralPartialEq for Visual[src]

Auto Trait Implementations

impl RefUnwindSafe for Visual

impl !Send for Visual

impl !Sync for Visual

impl Unpin for Visual

impl UnwindSafe for Visual

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.