xcb::glx

Type Alias BadDrawableError

source
pub type BadDrawableError = GenericError;
Expand description

The BadDrawableError error.

Aliased Type§

struct BadDrawableError { /* private fields */ }

Implementations

source§

impl GenericError

source

pub fn response_type(&self) -> u8

source

pub fn error_code(&self) -> u8

source

pub fn sequence(&self) -> u16

source

pub fn bad_value(&self) -> u32

source

pub fn minor_opcode(&self) -> u16

source

pub fn major_opcode(&self) -> u8

Trait Implementations

source§

impl BaseError for GenericError

source§

const EXTENSION: Option<Extension> = _

The extension associated to this error, or None for the main protocol
source§

const NUMBER: u32 = 4_294_967_295u32

The number associated to this error
source§

impl Debug for GenericError

source§

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

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

impl Drop for GenericError

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Raw<xcb_generic_error_t> for GenericError

source§

unsafe fn from_raw(raw: *mut xcb_generic_error_t) -> Self

Build Self from a raw pointer Read more
source§

fn as_raw(&self) -> *mut xcb_generic_error_t

Obtain the raw pointer representation
source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
source§

impl Send for GenericError

source§

impl Sync for GenericError