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

pub struct Setup {
Show fields 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

Append this item to a sequence of bytes.

Convert a sequence of bytes into this item.

Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more

If this item has any file descriptors stored within, this function returns them.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.