Struct x11_dl::xrender::Xrender

source ·
pub struct Xrender {
Show 44 fields pub XRenderAddGlyphs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_ulong, _: *const XGlyphInfo, _: c_int, _: *const c_char, _: c_int), pub XRenderAddTraps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: *const XTrap, _: c_int), pub XRenderChangePicture: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *const XRenderPictureAttributes), pub XRenderComposite: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint), pub XRenderCompositeDoublePoly: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XPointDouble, _: c_int, _: c_int), pub XRenderCompositeString16: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *const c_ushort, _: c_int), pub XRenderCompositeString32: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *const c_uint, _: c_int), pub XRenderCompositeString8: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *const c_char, _: c_int), pub XRenderCompositeText16: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XGlyphElt16, _: c_int), pub XRenderCompositeText32: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XGlyphElt32, _: c_int), pub XRenderCompositeText8: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XGlyphElt8, _: c_int), pub XRenderCompositeTrapezoids: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XTrapezoid, _: c_int), pub XRenderCompositeTriangles: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XTriangle, _: c_int), pub XRenderCompositeTriFan: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XPointFixed, _: c_int), pub XRenderCompositeTriStrip: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XPointFixed, _: c_int), pub XRenderCreateAnimCursor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XAnimCursor) -> c_ulong, pub XRenderCreateConicalGradient: unsafe extern "C" fn(_: *mut Display, _: *const XConicalGradient, _: *const c_int, _: *const XRenderColor, _: c_int) -> c_ulong, pub XRenderCreateCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint) -> c_ulong, pub XRenderCreateGlyphSet: unsafe extern "C" fn(_: *mut Display, _: *const XRenderPictFormat) -> c_ulong, pub XRenderCreateLinearGradient: unsafe extern "C" fn(_: *mut Display, _: *const XLinearGradient, _: *const c_int, _: *const XRenderColor, _: c_int) -> c_ulong, pub XRenderCreatePicture: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: *const XRenderPictureAttributes) -> c_ulong, pub XRenderCreateRadialGradient: unsafe extern "C" fn(_: *mut Display, _: *const XRadialGradient, _: *const c_int, _: *const XRenderColor, _: c_int) -> c_ulong, pub XRenderCreateSolidFill: unsafe extern "C" fn(_: *mut Display, _: *const XRenderColor) -> c_ulong, pub XRenderFillRectangle: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: *const XRenderColor, _: c_int, _: c_int, _: c_uint, _: c_uint), pub XRenderFillRectangles: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: *const XRenderColor, _: *const XRectangle, _: c_int), pub XRenderFindFormat: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const XRenderPictFormat, _: c_int) -> *mut XRenderPictFormat, pub XRenderFindStandardFormat: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut XRenderPictFormat, pub XRenderFindVisualFormat: unsafe extern "C" fn(_: *mut Display, _: *const Visual) -> *mut XRenderPictFormat, pub XRenderFreeGlyphs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_ulong, _: c_int), pub XRenderFreeGlyphSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong), pub XRenderFreePicture: unsafe extern "C" fn(_: *mut Display, _: c_ulong), pub XRenderParseColor: unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: *mut XRenderColor) -> c_int, pub XRenderQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int, pub XRenderQueryFilters: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XFilters, pub XRenderQueryFormats: unsafe extern "C" fn(_: *mut Display) -> c_int, pub XRenderQueryPictIndexValues: unsafe extern "C" fn(_: *mut Display, _: *const XRenderPictFormat, _: *mut c_int) -> *mut XIndexValue, pub XRenderQuerySubpixelOrder: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int, pub XRenderQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int, pub XRenderReferenceGlyphSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_ulong, pub XRenderSetPictureClipRectangles: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: *const XRectangle, _: c_int), pub XRenderSetPictureClipRegion: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: Region), pub XRenderSetPictureFilter: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut c_int, _: c_int), pub XRenderSetPictureTransform: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTransform), pub XRenderSetSubpixelOrder: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_int, /* private fields */
}

Fields§

§XRenderAddGlyphs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_ulong, _: *const XGlyphInfo, _: c_int, _: *const c_char, _: c_int)§XRenderAddTraps: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: *const XTrap, _: c_int)§XRenderChangePicture: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *const XRenderPictureAttributes)§XRenderComposite: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: c_int, _: c_uint, _: c_uint)§XRenderCompositeDoublePoly: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XPointDouble, _: c_int, _: c_int)§XRenderCompositeString16: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *const c_ushort, _: c_int)§XRenderCompositeString32: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *const c_uint, _: c_int)§XRenderCompositeString8: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: c_int, _: c_int, _: c_int, _: c_int, _: *const c_char, _: c_int)§XRenderCompositeText16: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XGlyphElt16, _: c_int)§XRenderCompositeText32: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XGlyphElt32, _: c_int)§XRenderCompositeText8: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: c_int, _: c_int, _: *const XGlyphElt8, _: c_int)§XRenderCompositeTrapezoids: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XTrapezoid, _: c_int)§XRenderCompositeTriangles: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XTriangle, _: c_int)§XRenderCompositeTriFan: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XPointFixed, _: c_int)§XRenderCompositeTriStrip: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: c_ulong, _: *const XRenderPictFormat, _: c_int, _: c_int, _: *const XPointFixed, _: c_int)§XRenderCreateAnimCursor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XAnimCursor) -> c_ulong§XRenderCreateConicalGradient: unsafe extern "C" fn(_: *mut Display, _: *const XConicalGradient, _: *const c_int, _: *const XRenderColor, _: c_int) -> c_ulong§XRenderCreateCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint) -> c_ulong§XRenderCreateGlyphSet: unsafe extern "C" fn(_: *mut Display, _: *const XRenderPictFormat) -> c_ulong§XRenderCreateLinearGradient: unsafe extern "C" fn(_: *mut Display, _: *const XLinearGradient, _: *const c_int, _: *const XRenderColor, _: c_int) -> c_ulong§XRenderCreatePicture: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const XRenderPictFormat, _: c_ulong, _: *const XRenderPictureAttributes) -> c_ulong§XRenderCreateRadialGradient: unsafe extern "C" fn(_: *mut Display, _: *const XRadialGradient, _: *const c_int, _: *const XRenderColor, _: c_int) -> c_ulong§XRenderCreateSolidFill: unsafe extern "C" fn(_: *mut Display, _: *const XRenderColor) -> c_ulong§XRenderFillRectangle: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: *const XRenderColor, _: c_int, _: c_int, _: c_uint, _: c_uint)§XRenderFillRectangles: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_ulong, _: *const XRenderColor, _: *const XRectangle, _: c_int)§XRenderFindFormat: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const XRenderPictFormat, _: c_int) -> *mut XRenderPictFormat§XRenderFindStandardFormat: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut XRenderPictFormat§XRenderFindVisualFormat: unsafe extern "C" fn(_: *mut Display, _: *const Visual) -> *mut XRenderPictFormat§XRenderFreeGlyphs: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_ulong, _: c_int)§XRenderFreeGlyphSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong)§XRenderFreePicture: unsafe extern "C" fn(_: *mut Display, _: c_ulong)§XRenderParseColor: unsafe extern "C" fn(_: *mut Display, _: *mut c_char, _: *mut XRenderColor) -> c_int§XRenderQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int§XRenderQueryFilters: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> *mut XFilters§XRenderQueryFormats: unsafe extern "C" fn(_: *mut Display) -> c_int§XRenderQueryPictIndexValues: unsafe extern "C" fn(_: *mut Display, _: *const XRenderPictFormat, _: *mut c_int) -> *mut XIndexValue§XRenderQuerySubpixelOrder: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int§XRenderQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int§XRenderReferenceGlyphSet: unsafe extern "C" fn(_: *mut Display, _: c_ulong) -> c_ulong§XRenderSetPictureClipRectangles: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: c_int, _: *const XRectangle, _: c_int)§XRenderSetPictureClipRegion: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: Region)§XRenderSetPictureFilter: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *const c_char, _: *mut c_int, _: c_int)§XRenderSetPictureTransform: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XTransform)§XRenderSetSubpixelOrder: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_int

Implementations§

Trait Implementations§

Auto Trait Implementations§

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.