[][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 Copy for Visual[src]

impl Clone for Visual[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Visual

impl !Sync for Visual

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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