[][src]Struct sdl2_sys::Visual

#[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]

Auto Trait Implementations

impl !Send for Visual

impl !Sync for Visual

impl Unpin 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, 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.