Struct xcb::x::SetupBuf [−][src]
pub struct SetupBuf { /* fields omitted */ }
Implementations
pub fn new(
status: u8,
protocol_major_version: u16,
protocol_minor_version: u16,
length: u16,
release_number: u32,
resource_id_base: u32,
resource_id_mask: u32,
motion_buffer_size: u32,
maximum_request_length: u16,
image_byte_order: ImageOrder,
bitmap_format_bit_order: ImageOrder,
bitmap_format_scanline_unit: u8,
bitmap_format_scanline_pad: u8,
min_keycode: Keycode,
max_keycode: Keycode,
vendor: &str,
pixmap_formats: &[Format],
roots: &[ScreenBuf]
) -> SetupBuf
pub fn new(
status: u8,
protocol_major_version: u16,
protocol_minor_version: u16,
length: u16,
release_number: u32,
resource_id_base: u32,
resource_id_mask: u32,
motion_buffer_size: u32,
maximum_request_length: u16,
image_byte_order: ImageOrder,
bitmap_format_bit_order: ImageOrder,
bitmap_format_scanline_unit: u8,
bitmap_format_scanline_pad: u8,
min_keycode: Keycode,
max_keycode: Keycode,
vendor: &str,
pixmap_formats: &[Format],
roots: &[ScreenBuf]
) -> SetupBuf
Construct a new SetupBuf.
Methods from Deref<Target = Setup>
pub fn vendor_raw(&self) -> &[u8]ⓘ
pub fn roots(&self) -> ScreenIterator<'_>ⓘNotable traits for ScreenIterator<'a>impl<'a> Iterator for ScreenIterator<'a> type Item = &'a Screen;
Notable traits for ScreenIterator<'a>
impl<'a> Iterator for ScreenIterator<'a> type Item = &'a Screen;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SetupBuf
impl UnwindSafe for SetupBuf
Blanket Implementations
Mutably borrows from an owned value. Read more