xcb::x

Type Alias FontError

source
pub type FontError = ValueError;
Expand description

The FontError error.

Aliased Type§

struct FontError { /* private fields */ }

Implementations

source§

impl ValueError

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 ValueError

source§

const EXTENSION: Option<Extension> = None

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

const NUMBER: u32 = 2u32

The number associated to this error
source§

impl Debug for ValueError

source§

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

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

impl Drop for ValueError

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Raw<xcb_generic_error_t> for ValueError

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 ValueError

source§

impl Sync for ValueError