Struct xcb::x::Setup

source ·
pub struct Setup { /* private fields */ }

Implementations§

source§

impl Setup

source

pub fn status(&self) -> u8

source

pub fn protocol_major_version(&self) -> u16

source

pub fn protocol_minor_version(&self) -> u16

source

pub fn length(&self) -> u16

source

pub fn release_number(&self) -> u32

source

pub fn resource_id_base(&self) -> u32

source

pub fn resource_id_mask(&self) -> u32

source

pub fn motion_buffer_size(&self) -> u32

source

pub fn maximum_request_length(&self) -> u16

source

pub fn image_byte_order(&self) -> ImageOrder

source

pub fn bitmap_format_bit_order(&self) -> ImageOrder

source

pub fn bitmap_format_scanline_unit(&self) -> u8

source

pub fn bitmap_format_scanline_pad(&self) -> u8

source

pub fn min_keycode(&self) -> Keycode

source

pub fn max_keycode(&self) -> Keycode

source

pub fn vendor(&self) -> &Lat1Str

source

pub fn pixmap_formats(&self) -> &[Format]

source

pub fn roots(&self) -> ScreenIterator<'_>

Trait Implementations§

source§

impl Borrow<Setup> for SetupBuf

source§

fn borrow(&self) -> &Setup

Immutably borrows from an owned value. Read more
source§

impl Debug for Setup

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl ToOwned for Setup

source§

type Owned = SetupBuf

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

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

Auto Trait Implementations§

§

impl Freeze for Setup

§

impl RefUnwindSafe for Setup

§

impl Send for Setup

§

impl !Sized for Setup

§

impl Sync for Setup

§

impl Unpin for Setup

§

impl UnwindSafe for Setup

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more