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§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.