Struct x11_dl::xshm::Xext

source ·
pub struct Xext {
    _private: (),
    pub XShmQueryExtension: unsafe extern "C" fn(_: *mut Display) -> Bool,
    pub XShmGetEventBase: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XShmQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut Bool) -> Bool,
    pub XShmPixmapFormat: unsafe extern "C" fn(_: *mut Display) -> c_int,
    pub XShmAttach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool,
    pub XShmDetach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool,
    pub XShmPutImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: GC, _: *mut XImage, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint, _: Bool) -> Bool,
    pub XShmGetImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XImage, _: c_int, _: c_int, _: c_uint) -> Bool,
    pub XShmCreateImage: unsafe extern "C" fn(_: *mut Display, _: *mut Visual, _: c_uint, _: c_int, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint) -> *mut XImage,
    pub XShmCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint, _: c_uint) -> Pixmap,
}

Fields§

§_private: ()§XShmQueryExtension: unsafe extern "C" fn(_: *mut Display) -> Bool§XShmGetEventBase: unsafe extern "C" fn(_: *mut Display) -> c_int§XShmQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int, _: *mut Bool) -> Bool§XShmPixmapFormat: unsafe extern "C" fn(_: *mut Display) -> c_int§XShmAttach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool§XShmDetach: unsafe extern "C" fn(_: *mut Display, _: *mut XShmSegmentInfo) -> Bool§XShmPutImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: GC, _: *mut XImage, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint, _: Bool) -> Bool§XShmGetImage: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XImage, _: c_int, _: c_int, _: c_uint) -> Bool§XShmCreateImage: unsafe extern "C" fn(_: *mut Display, _: *mut Visual, _: c_uint, _: c_int, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint) -> *mut XImage§XShmCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut c_char, _: *mut XShmSegmentInfo, _: c_uint, _: c_uint, _: c_uint) -> Pixmap

Implementations§

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Xext

§

impl RefUnwindSafe for Xext

§

impl Unpin for Xext

§

impl UnwindSafe for Xext

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
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.