[][src]Struct breadx::auto::xproto::Setup

pub struct Setup {
    pub status: u8,
    pub protocol_major_version: u16,
    pub protocol_minor_version: u16,
    pub length: u16,
    pub release_number: u32,
    pub resource_id_base: u32,
    pub resource_id_mask: u32,
    pub motion_buffer_size: u32,
    pub maximum_request_length: u16,
    pub image_byte_order: ImageOrder,
    pub bitmap_format_bit_order: ImageOrder,
    pub bitmap_format_scanline_unit: u8,
    pub bitmap_format_scanline_pad: u8,
    pub min_keycode: Keycode,
    pub max_keycode: Keycode,
    pub vendor: String,
    pub pixmap_formats: Vec<Format>,
    pub roots: Vec<Screen>,
}

Fields

status: u8protocol_major_version: u16protocol_minor_version: u16length: u16release_number: u32resource_id_base: u32resource_id_mask: u32motion_buffer_size: u32maximum_request_length: u16image_byte_order: ImageOrderbitmap_format_bit_order: ImageOrderbitmap_format_scanline_unit: u8bitmap_format_scanline_pad: u8min_keycode: Keycodemax_keycode: Keycodevendor: Stringpixmap_formats: Vec<Format>roots: Vec<Screen>

Trait Implementations

impl AsByteSequence for Setup[src]

impl Clone for Setup[src]

impl Debug for Setup[src]

impl Default for Setup[src]

Auto Trait Implementations

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.