#[non_exhaustive]pub enum Request<'input> {
Show 331 variants
Unknown(RequestHeader, Cow<'input, [u8]>),
CreateWindow(CreateWindowRequest<'input>),
ChangeWindowAttributes(ChangeWindowAttributesRequest<'input>),
GetWindowAttributes(GetWindowAttributesRequest),
DestroyWindow(DestroyWindowRequest),
DestroySubwindows(DestroySubwindowsRequest),
ChangeSaveSet(ChangeSaveSetRequest),
ReparentWindow(ReparentWindowRequest),
MapWindow(MapWindowRequest),
MapSubwindows(MapSubwindowsRequest),
UnmapWindow(UnmapWindowRequest),
UnmapSubwindows(UnmapSubwindowsRequest),
ConfigureWindow(ConfigureWindowRequest<'input>),
CirculateWindow(CirculateWindowRequest),
GetGeometry(GetGeometryRequest),
QueryTree(QueryTreeRequest),
InternAtom(InternAtomRequest<'input>),
GetAtomName(GetAtomNameRequest),
ChangeProperty(ChangePropertyRequest<'input>),
DeleteProperty(DeletePropertyRequest),
GetProperty(GetPropertyRequest),
ListProperties(ListPropertiesRequest),
SetSelectionOwner(SetSelectionOwnerRequest),
GetSelectionOwner(GetSelectionOwnerRequest),
ConvertSelection(ConvertSelectionRequest),
SendEvent(SendEventRequest<'input>),
GrabPointer(GrabPointerRequest),
UngrabPointer(UngrabPointerRequest),
GrabButton(GrabButtonRequest),
UngrabButton(UngrabButtonRequest),
ChangeActivePointerGrab(ChangeActivePointerGrabRequest),
GrabKeyboard(GrabKeyboardRequest),
UngrabKeyboard(UngrabKeyboardRequest),
GrabKey(GrabKeyRequest),
UngrabKey(UngrabKeyRequest),
AllowEvents(AllowEventsRequest),
GrabServer(GrabServerRequest),
UngrabServer(UngrabServerRequest),
QueryPointer(QueryPointerRequest),
GetMotionEvents(GetMotionEventsRequest),
TranslateCoordinates(TranslateCoordinatesRequest),
WarpPointer(WarpPointerRequest),
SetInputFocus(SetInputFocusRequest),
GetInputFocus(GetInputFocusRequest),
QueryKeymap(QueryKeymapRequest),
OpenFont(OpenFontRequest<'input>),
CloseFont(CloseFontRequest),
QueryFont(QueryFontRequest),
QueryTextExtents(QueryTextExtentsRequest<'input>),
ListFonts(ListFontsRequest<'input>),
ListFontsWithInfo(ListFontsWithInfoRequest<'input>),
SetFontPath(SetFontPathRequest<'input>),
GetFontPath(GetFontPathRequest),
CreatePixmap(CreatePixmapRequest),
FreePixmap(FreePixmapRequest),
CreateGC(CreateGCRequest<'input>),
ChangeGC(ChangeGCRequest<'input>),
CopyGC(CopyGCRequest),
SetDashes(SetDashesRequest<'input>),
SetClipRectangles(SetClipRectanglesRequest<'input>),
FreeGC(FreeGCRequest),
ClearArea(ClearAreaRequest),
CopyArea(CopyAreaRequest),
CopyPlane(CopyPlaneRequest),
PolyPoint(PolyPointRequest<'input>),
PolyLine(PolyLineRequest<'input>),
PolySegment(PolySegmentRequest<'input>),
PolyRectangle(PolyRectangleRequest<'input>),
PolyArc(PolyArcRequest<'input>),
FillPoly(FillPolyRequest<'input>),
PolyFillRectangle(PolyFillRectangleRequest<'input>),
PolyFillArc(PolyFillArcRequest<'input>),
PutImage(PutImageRequest<'input>),
GetImage(GetImageRequest),
PolyText8(PolyText8Request<'input>),
PolyText16(PolyText16Request<'input>),
ImageText8(ImageText8Request<'input>),
ImageText16(ImageText16Request<'input>),
CreateColormap(CreateColormapRequest),
FreeColormap(FreeColormapRequest),
CopyColormapAndFree(CopyColormapAndFreeRequest),
InstallColormap(InstallColormapRequest),
UninstallColormap(UninstallColormapRequest),
ListInstalledColormaps(ListInstalledColormapsRequest),
AllocColor(AllocColorRequest),
AllocNamedColor(AllocNamedColorRequest<'input>),
AllocColorCells(AllocColorCellsRequest),
AllocColorPlanes(AllocColorPlanesRequest),
FreeColors(FreeColorsRequest<'input>),
StoreColors(StoreColorsRequest<'input>),
StoreNamedColor(StoreNamedColorRequest<'input>),
QueryColors(QueryColorsRequest<'input>),
LookupColor(LookupColorRequest<'input>),
CreateCursor(CreateCursorRequest),
CreateGlyphCursor(CreateGlyphCursorRequest),
FreeCursor(FreeCursorRequest),
RecolorCursor(RecolorCursorRequest),
QueryBestSize(QueryBestSizeRequest),
QueryExtension(QueryExtensionRequest<'input>),
ListExtensions(ListExtensionsRequest),
ChangeKeyboardMapping(ChangeKeyboardMappingRequest<'input>),
GetKeyboardMapping(GetKeyboardMappingRequest),
ChangeKeyboardControl(ChangeKeyboardControlRequest<'input>),
GetKeyboardControl(GetKeyboardControlRequest),
Bell(BellRequest),
ChangePointerControl(ChangePointerControlRequest),
GetPointerControl(GetPointerControlRequest),
SetScreenSaver(SetScreenSaverRequest),
GetScreenSaver(GetScreenSaverRequest),
ChangeHosts(ChangeHostsRequest<'input>),
ListHosts(ListHostsRequest),
SetAccessControl(SetAccessControlRequest),
SetCloseDownMode(SetCloseDownModeRequest),
KillClient(KillClientRequest),
RotateProperties(RotatePropertiesRequest<'input>),
ForceScreenSaver(ForceScreenSaverRequest),
SetPointerMapping(SetPointerMappingRequest<'input>),
GetPointerMapping(GetPointerMappingRequest),
SetModifierMapping(SetModifierMappingRequest<'input>),
GetModifierMapping(GetModifierMappingRequest),
NoOperation(NoOperationRequest),
BigreqEnable(EnableRequest),
GeQueryVersion(QueryVersionRequest),
RandrQueryVersion(QueryVersionRequest),
RandrSetScreenConfig(SetScreenConfigRequest),
RandrSelectInput(SelectInputRequest),
RandrGetScreenInfo(GetScreenInfoRequest),
RandrGetScreenSizeRange(GetScreenSizeRangeRequest),
RandrSetScreenSize(SetScreenSizeRequest),
RandrGetScreenResources(GetScreenResourcesRequest),
RandrGetOutputInfo(GetOutputInfoRequest),
RandrListOutputProperties(ListOutputPropertiesRequest),
RandrQueryOutputProperty(QueryOutputPropertyRequest),
RandrConfigureOutputProperty(ConfigureOutputPropertyRequest<'input>),
RandrChangeOutputProperty(ChangeOutputPropertyRequest<'input>),
RandrDeleteOutputProperty(DeleteOutputPropertyRequest),
RandrGetOutputProperty(GetOutputPropertyRequest),
RandrCreateMode(CreateModeRequest<'input>),
RandrDestroyMode(DestroyModeRequest),
RandrAddOutputMode(AddOutputModeRequest),
RandrDeleteOutputMode(DeleteOutputModeRequest),
RandrGetCrtcInfo(GetCrtcInfoRequest),
RandrSetCrtcConfig(SetCrtcConfigRequest<'input>),
RandrGetCrtcGammaSize(GetCrtcGammaSizeRequest),
RandrGetCrtcGamma(GetCrtcGammaRequest),
RandrSetCrtcGamma(SetCrtcGammaRequest<'input>),
RandrGetScreenResourcesCurrent(GetScreenResourcesCurrentRequest),
RandrSetCrtcTransform(SetCrtcTransformRequest<'input>),
RandrGetCrtcTransform(GetCrtcTransformRequest),
RandrGetPanning(GetPanningRequest),
RandrSetPanning(SetPanningRequest),
RandrSetOutputPrimary(SetOutputPrimaryRequest),
RandrGetOutputPrimary(GetOutputPrimaryRequest),
RandrGetProviders(GetProvidersRequest),
RandrGetProviderInfo(GetProviderInfoRequest),
RandrSetProviderOffloadSink(SetProviderOffloadSinkRequest),
RandrSetProviderOutputSource(SetProviderOutputSourceRequest),
RandrListProviderProperties(ListProviderPropertiesRequest),
RandrQueryProviderProperty(QueryProviderPropertyRequest),
RandrConfigureProviderProperty(ConfigureProviderPropertyRequest<'input>),
RandrChangeProviderProperty(ChangeProviderPropertyRequest<'input>),
RandrDeleteProviderProperty(DeleteProviderPropertyRequest),
RandrGetProviderProperty(GetProviderPropertyRequest),
RandrGetMonitors(GetMonitorsRequest),
RandrSetMonitor(SetMonitorRequest),
RandrDeleteMonitor(DeleteMonitorRequest),
RandrCreateLease(CreateLeaseRequest<'input>),
RandrFreeLease(FreeLeaseRequest),
RenderQueryVersion(QueryVersionRequest),
RenderQueryPictFormats(QueryPictFormatsRequest),
RenderQueryPictIndexValues(QueryPictIndexValuesRequest),
RenderCreatePicture(CreatePictureRequest<'input>),
RenderChangePicture(ChangePictureRequest<'input>),
RenderSetPictureClipRectangles(SetPictureClipRectanglesRequest<'input>),
RenderFreePicture(FreePictureRequest),
RenderComposite(CompositeRequest),
RenderTrapezoids(TrapezoidsRequest<'input>),
RenderTriangles(TrianglesRequest<'input>),
RenderTriStrip(TriStripRequest<'input>),
RenderTriFan(TriFanRequest<'input>),
RenderCreateGlyphSet(CreateGlyphSetRequest),
RenderReferenceGlyphSet(ReferenceGlyphSetRequest),
RenderFreeGlyphSet(FreeGlyphSetRequest),
RenderAddGlyphs(AddGlyphsRequest<'input>),
RenderFreeGlyphs(FreeGlyphsRequest<'input>),
RenderCompositeGlyphs8(CompositeGlyphs8Request<'input>),
RenderCompositeGlyphs16(CompositeGlyphs16Request<'input>),
RenderCompositeGlyphs32(CompositeGlyphs32Request<'input>),
RenderFillRectangles(FillRectanglesRequest<'input>),
RenderCreateCursor(CreateCursorRequest),
RenderSetPictureTransform(SetPictureTransformRequest),
RenderQueryFilters(QueryFiltersRequest),
RenderSetPictureFilter(SetPictureFilterRequest<'input>),
RenderCreateAnimCursor(CreateAnimCursorRequest<'input>),
RenderAddTraps(AddTrapsRequest<'input>),
RenderCreateSolidFill(CreateSolidFillRequest),
RenderCreateLinearGradient(CreateLinearGradientRequest<'input>),
RenderCreateRadialGradient(CreateRadialGradientRequest<'input>),
RenderCreateConicalGradient(CreateConicalGradientRequest<'input>),
ShapeQueryVersion(QueryVersionRequest),
ShapeRectangles(RectanglesRequest<'input>),
ShapeMask(MaskRequest),
ShapeCombine(CombineRequest),
ShapeOffset(OffsetRequest),
ShapeQueryExtents(QueryExtentsRequest),
ShapeSelectInput(SelectInputRequest),
ShapeInputSelected(InputSelectedRequest),
ShapeGetRectangles(GetRectanglesRequest),
XcMiscGetVersion(GetVersionRequest),
XcMiscGetXIDRange(GetXIDRangeRequest),
XcMiscGetXIDList(GetXIDListRequest),
XfixesQueryVersion(QueryVersionRequest),
XfixesChangeSaveSet(ChangeSaveSetRequest),
XfixesSelectSelectionInput(SelectSelectionInputRequest),
XfixesSelectCursorInput(SelectCursorInputRequest),
XfixesGetCursorImage(GetCursorImageRequest),
XfixesCreateRegion(CreateRegionRequest<'input>),
XfixesCreateRegionFromBitmap(CreateRegionFromBitmapRequest),
XfixesCreateRegionFromWindow(CreateRegionFromWindowRequest),
XfixesCreateRegionFromGC(CreateRegionFromGCRequest),
XfixesCreateRegionFromPicture(CreateRegionFromPictureRequest),
XfixesDestroyRegion(DestroyRegionRequest),
XfixesSetRegion(SetRegionRequest<'input>),
XfixesCopyRegion(CopyRegionRequest),
XfixesUnionRegion(UnionRegionRequest),
XfixesIntersectRegion(IntersectRegionRequest),
XfixesSubtractRegion(SubtractRegionRequest),
XfixesInvertRegion(InvertRegionRequest),
XfixesTranslateRegion(TranslateRegionRequest),
XfixesRegionExtents(RegionExtentsRequest),
XfixesFetchRegion(FetchRegionRequest),
XfixesSetGCClipRegion(SetGCClipRegionRequest),
XfixesSetWindowShapeRegion(SetWindowShapeRegionRequest),
XfixesSetPictureClipRegion(SetPictureClipRegionRequest),
XfixesSetCursorName(SetCursorNameRequest<'input>),
XfixesGetCursorName(GetCursorNameRequest),
XfixesGetCursorImageAndName(GetCursorImageAndNameRequest),
XfixesChangeCursor(ChangeCursorRequest),
XfixesChangeCursorByName(ChangeCursorByNameRequest<'input>),
XfixesExpandRegion(ExpandRegionRequest),
XfixesHideCursor(HideCursorRequest),
XfixesShowCursor(ShowCursorRequest),
XfixesCreatePointerBarrier(CreatePointerBarrierRequest<'input>),
XfixesDeletePointerBarrier(DeletePointerBarrierRequest),
XfixesSetClientDisconnectMode(SetClientDisconnectModeRequest),
XfixesGetClientDisconnectMode(GetClientDisconnectModeRequest),
XinputGetExtensionVersion(GetExtensionVersionRequest<'input>),
XinputListInputDevices(ListInputDevicesRequest),
XinputOpenDevice(OpenDeviceRequest),
XinputCloseDevice(CloseDeviceRequest),
XinputSetDeviceMode(SetDeviceModeRequest),
XinputSelectExtensionEvent(SelectExtensionEventRequest<'input>),
XinputGetSelectedExtensionEvents(GetSelectedExtensionEventsRequest),
XinputChangeDeviceDontPropagateList(ChangeDeviceDontPropagateListRequest<'input>),
XinputGetDeviceDontPropagateList(GetDeviceDontPropagateListRequest),
XinputGetDeviceMotionEvents(GetDeviceMotionEventsRequest),
XinputChangeKeyboardDevice(ChangeKeyboardDeviceRequest),
XinputChangePointerDevice(ChangePointerDeviceRequest),
XinputGrabDevice(GrabDeviceRequest<'input>),
XinputUngrabDevice(UngrabDeviceRequest),
XinputGrabDeviceKey(GrabDeviceKeyRequest<'input>),
XinputUngrabDeviceKey(UngrabDeviceKeyRequest),
XinputGrabDeviceButton(GrabDeviceButtonRequest<'input>),
XinputUngrabDeviceButton(UngrabDeviceButtonRequest),
XinputAllowDeviceEvents(AllowDeviceEventsRequest),
XinputGetDeviceFocus(GetDeviceFocusRequest),
XinputSetDeviceFocus(SetDeviceFocusRequest),
XinputGetFeedbackControl(GetFeedbackControlRequest),
XinputChangeFeedbackControl(ChangeFeedbackControlRequest),
XinputGetDeviceKeyMapping(GetDeviceKeyMappingRequest),
XinputChangeDeviceKeyMapping(ChangeDeviceKeyMappingRequest<'input>),
XinputGetDeviceModifierMapping(GetDeviceModifierMappingRequest),
XinputSetDeviceModifierMapping(SetDeviceModifierMappingRequest<'input>),
XinputGetDeviceButtonMapping(GetDeviceButtonMappingRequest),
XinputSetDeviceButtonMapping(SetDeviceButtonMappingRequest<'input>),
XinputQueryDeviceState(QueryDeviceStateRequest),
XinputDeviceBell(DeviceBellRequest),
XinputSetDeviceValuators(SetDeviceValuatorsRequest<'input>),
XinputGetDeviceControl(GetDeviceControlRequest),
XinputChangeDeviceControl(ChangeDeviceControlRequest),
XinputListDeviceProperties(ListDevicePropertiesRequest),
XinputChangeDeviceProperty(ChangeDevicePropertyRequest<'input>),
XinputDeleteDeviceProperty(DeleteDevicePropertyRequest),
XinputGetDeviceProperty(GetDevicePropertyRequest),
XinputXIQueryPointer(XIQueryPointerRequest),
XinputXIWarpPointer(XIWarpPointerRequest),
XinputXIChangeCursor(XIChangeCursorRequest),
XinputXIChangeHierarchy(XIChangeHierarchyRequest<'input>),
XinputXISetClientPointer(XISetClientPointerRequest),
XinputXIGetClientPointer(XIGetClientPointerRequest),
XinputXISelectEvents(XISelectEventsRequest<'input>),
XinputXIQueryVersion(XIQueryVersionRequest),
XinputXIQueryDevice(XIQueryDeviceRequest),
XinputXISetFocus(XISetFocusRequest),
XinputXIGetFocus(XIGetFocusRequest),
XinputXIGrabDevice(XIGrabDeviceRequest<'input>),
XinputXIUngrabDevice(XIUngrabDeviceRequest),
XinputXIAllowEvents(XIAllowEventsRequest),
XinputXIPassiveGrabDevice(XIPassiveGrabDeviceRequest<'input>),
XinputXIPassiveUngrabDevice(XIPassiveUngrabDeviceRequest<'input>),
XinputXIListProperties(XIListPropertiesRequest),
XinputXIChangeProperty(XIChangePropertyRequest<'input>),
XinputXIDeleteProperty(XIDeletePropertyRequest),
XinputXIGetProperty(XIGetPropertyRequest),
XinputXIGetSelectedEvents(XIGetSelectedEventsRequest),
XinputXIBarrierReleasePointer(XIBarrierReleasePointerRequest<'input>),
XinputSendExtensionEvent(SendExtensionEventRequest<'input>),
XkbUseExtension(UseExtensionRequest),
XkbSelectEvents(SelectEventsRequest<'input>),
XkbBell(BellRequest),
XkbGetState(GetStateRequest),
XkbLatchLockState(LatchLockStateRequest),
XkbGetControls(GetControlsRequest),
XkbSetControls(SetControlsRequest<'input>),
XkbGetMap(GetMapRequest),
XkbSetMap(SetMapRequest<'input>),
XkbGetCompatMap(GetCompatMapRequest),
XkbSetCompatMap(SetCompatMapRequest<'input>),
XkbGetIndicatorState(GetIndicatorStateRequest),
XkbGetIndicatorMap(GetIndicatorMapRequest),
XkbSetIndicatorMap(SetIndicatorMapRequest<'input>),
XkbGetNamedIndicator(GetNamedIndicatorRequest),
XkbSetNamedIndicator(SetNamedIndicatorRequest),
XkbGetNames(GetNamesRequest),
XkbSetNames(SetNamesRequest<'input>),
XkbPerClientFlags(PerClientFlagsRequest),
XkbListComponents(ListComponentsRequest),
XkbGetKbdByName(GetKbdByNameRequest),
XkbGetDeviceInfo(GetDeviceInfoRequest),
XkbSetDeviceInfo(SetDeviceInfoRequest<'input>),
XkbSetDebuggingFlags(SetDebuggingFlagsRequest<'input>),
}
Expand description
Enumeration of all possible X11 requests.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown(RequestHeader, Cow<'input, [u8]>)
CreateWindow(CreateWindowRequest<'input>)
ChangeWindowAttributes(ChangeWindowAttributesRequest<'input>)
GetWindowAttributes(GetWindowAttributesRequest)
DestroyWindow(DestroyWindowRequest)
DestroySubwindows(DestroySubwindowsRequest)
ChangeSaveSet(ChangeSaveSetRequest)
ReparentWindow(ReparentWindowRequest)
MapWindow(MapWindowRequest)
MapSubwindows(MapSubwindowsRequest)
UnmapWindow(UnmapWindowRequest)
UnmapSubwindows(UnmapSubwindowsRequest)
ConfigureWindow(ConfigureWindowRequest<'input>)
CirculateWindow(CirculateWindowRequest)
GetGeometry(GetGeometryRequest)
QueryTree(QueryTreeRequest)
InternAtom(InternAtomRequest<'input>)
GetAtomName(GetAtomNameRequest)
ChangeProperty(ChangePropertyRequest<'input>)
DeleteProperty(DeletePropertyRequest)
GetProperty(GetPropertyRequest)
ListProperties(ListPropertiesRequest)
SetSelectionOwner(SetSelectionOwnerRequest)
GetSelectionOwner(GetSelectionOwnerRequest)
ConvertSelection(ConvertSelectionRequest)
SendEvent(SendEventRequest<'input>)
GrabPointer(GrabPointerRequest)
UngrabPointer(UngrabPointerRequest)
GrabButton(GrabButtonRequest)
UngrabButton(UngrabButtonRequest)
ChangeActivePointerGrab(ChangeActivePointerGrabRequest)
GrabKeyboard(GrabKeyboardRequest)
UngrabKeyboard(UngrabKeyboardRequest)
GrabKey(GrabKeyRequest)
UngrabKey(UngrabKeyRequest)
AllowEvents(AllowEventsRequest)
GrabServer(GrabServerRequest)
UngrabServer(UngrabServerRequest)
QueryPointer(QueryPointerRequest)
GetMotionEvents(GetMotionEventsRequest)
TranslateCoordinates(TranslateCoordinatesRequest)
WarpPointer(WarpPointerRequest)
SetInputFocus(SetInputFocusRequest)
GetInputFocus(GetInputFocusRequest)
QueryKeymap(QueryKeymapRequest)
OpenFont(OpenFontRequest<'input>)
CloseFont(CloseFontRequest)
QueryFont(QueryFontRequest)
QueryTextExtents(QueryTextExtentsRequest<'input>)
ListFonts(ListFontsRequest<'input>)
ListFontsWithInfo(ListFontsWithInfoRequest<'input>)
SetFontPath(SetFontPathRequest<'input>)
GetFontPath(GetFontPathRequest)
CreatePixmap(CreatePixmapRequest)
FreePixmap(FreePixmapRequest)
CreateGC(CreateGCRequest<'input>)
ChangeGC(ChangeGCRequest<'input>)
CopyGC(CopyGCRequest)
SetDashes(SetDashesRequest<'input>)
SetClipRectangles(SetClipRectanglesRequest<'input>)
FreeGC(FreeGCRequest)
ClearArea(ClearAreaRequest)
CopyArea(CopyAreaRequest)
CopyPlane(CopyPlaneRequest)
PolyPoint(PolyPointRequest<'input>)
PolyLine(PolyLineRequest<'input>)
PolySegment(PolySegmentRequest<'input>)
PolyRectangle(PolyRectangleRequest<'input>)
PolyArc(PolyArcRequest<'input>)
FillPoly(FillPolyRequest<'input>)
PolyFillRectangle(PolyFillRectangleRequest<'input>)
PolyFillArc(PolyFillArcRequest<'input>)
PutImage(PutImageRequest<'input>)
GetImage(GetImageRequest)
PolyText8(PolyText8Request<'input>)
PolyText16(PolyText16Request<'input>)
ImageText8(ImageText8Request<'input>)
ImageText16(ImageText16Request<'input>)
CreateColormap(CreateColormapRequest)
FreeColormap(FreeColormapRequest)
CopyColormapAndFree(CopyColormapAndFreeRequest)
InstallColormap(InstallColormapRequest)
UninstallColormap(UninstallColormapRequest)
ListInstalledColormaps(ListInstalledColormapsRequest)
AllocColor(AllocColorRequest)
AllocNamedColor(AllocNamedColorRequest<'input>)
AllocColorCells(AllocColorCellsRequest)
AllocColorPlanes(AllocColorPlanesRequest)
FreeColors(FreeColorsRequest<'input>)
StoreColors(StoreColorsRequest<'input>)
StoreNamedColor(StoreNamedColorRequest<'input>)
QueryColors(QueryColorsRequest<'input>)
LookupColor(LookupColorRequest<'input>)
CreateCursor(CreateCursorRequest)
CreateGlyphCursor(CreateGlyphCursorRequest)
FreeCursor(FreeCursorRequest)
RecolorCursor(RecolorCursorRequest)
QueryBestSize(QueryBestSizeRequest)
QueryExtension(QueryExtensionRequest<'input>)
ListExtensions(ListExtensionsRequest)
ChangeKeyboardMapping(ChangeKeyboardMappingRequest<'input>)
GetKeyboardMapping(GetKeyboardMappingRequest)
ChangeKeyboardControl(ChangeKeyboardControlRequest<'input>)
GetKeyboardControl(GetKeyboardControlRequest)
Bell(BellRequest)
ChangePointerControl(ChangePointerControlRequest)
GetPointerControl(GetPointerControlRequest)
SetScreenSaver(SetScreenSaverRequest)
GetScreenSaver(GetScreenSaverRequest)
ChangeHosts(ChangeHostsRequest<'input>)
ListHosts(ListHostsRequest)
SetAccessControl(SetAccessControlRequest)
SetCloseDownMode(SetCloseDownModeRequest)
KillClient(KillClientRequest)
RotateProperties(RotatePropertiesRequest<'input>)
ForceScreenSaver(ForceScreenSaverRequest)
SetPointerMapping(SetPointerMappingRequest<'input>)
GetPointerMapping(GetPointerMappingRequest)
SetModifierMapping(SetModifierMappingRequest<'input>)
GetModifierMapping(GetModifierMappingRequest)
NoOperation(NoOperationRequest)
BigreqEnable(EnableRequest)
GeQueryVersion(QueryVersionRequest)
RandrQueryVersion(QueryVersionRequest)
RandrSetScreenConfig(SetScreenConfigRequest)
RandrSelectInput(SelectInputRequest)
RandrGetScreenInfo(GetScreenInfoRequest)
RandrGetScreenSizeRange(GetScreenSizeRangeRequest)
RandrSetScreenSize(SetScreenSizeRequest)
RandrGetScreenResources(GetScreenResourcesRequest)
RandrGetOutputInfo(GetOutputInfoRequest)
RandrListOutputProperties(ListOutputPropertiesRequest)
RandrQueryOutputProperty(QueryOutputPropertyRequest)
RandrConfigureOutputProperty(ConfigureOutputPropertyRequest<'input>)
RandrChangeOutputProperty(ChangeOutputPropertyRequest<'input>)
RandrDeleteOutputProperty(DeleteOutputPropertyRequest)
RandrGetOutputProperty(GetOutputPropertyRequest)
RandrCreateMode(CreateModeRequest<'input>)
RandrDestroyMode(DestroyModeRequest)
RandrAddOutputMode(AddOutputModeRequest)
RandrDeleteOutputMode(DeleteOutputModeRequest)
RandrGetCrtcInfo(GetCrtcInfoRequest)
RandrSetCrtcConfig(SetCrtcConfigRequest<'input>)
RandrGetCrtcGammaSize(GetCrtcGammaSizeRequest)
RandrGetCrtcGamma(GetCrtcGammaRequest)
RandrSetCrtcGamma(SetCrtcGammaRequest<'input>)
RandrGetScreenResourcesCurrent(GetScreenResourcesCurrentRequest)
RandrSetCrtcTransform(SetCrtcTransformRequest<'input>)
RandrGetCrtcTransform(GetCrtcTransformRequest)
RandrGetPanning(GetPanningRequest)
RandrSetPanning(SetPanningRequest)
RandrSetOutputPrimary(SetOutputPrimaryRequest)
RandrGetOutputPrimary(GetOutputPrimaryRequest)
RandrGetProviders(GetProvidersRequest)
RandrGetProviderInfo(GetProviderInfoRequest)
RandrSetProviderOffloadSink(SetProviderOffloadSinkRequest)
RandrSetProviderOutputSource(SetProviderOutputSourceRequest)
RandrListProviderProperties(ListProviderPropertiesRequest)
RandrQueryProviderProperty(QueryProviderPropertyRequest)
RandrConfigureProviderProperty(ConfigureProviderPropertyRequest<'input>)
RandrChangeProviderProperty(ChangeProviderPropertyRequest<'input>)
RandrDeleteProviderProperty(DeleteProviderPropertyRequest)
RandrGetProviderProperty(GetProviderPropertyRequest)
RandrGetMonitors(GetMonitorsRequest)
RandrSetMonitor(SetMonitorRequest)
RandrDeleteMonitor(DeleteMonitorRequest)
RandrCreateLease(CreateLeaseRequest<'input>)
RandrFreeLease(FreeLeaseRequest)
RenderQueryVersion(QueryVersionRequest)
RenderQueryPictFormats(QueryPictFormatsRequest)
RenderQueryPictIndexValues(QueryPictIndexValuesRequest)
RenderCreatePicture(CreatePictureRequest<'input>)
RenderChangePicture(ChangePictureRequest<'input>)
RenderSetPictureClipRectangles(SetPictureClipRectanglesRequest<'input>)
RenderFreePicture(FreePictureRequest)
RenderComposite(CompositeRequest)
RenderTrapezoids(TrapezoidsRequest<'input>)
RenderTriangles(TrianglesRequest<'input>)
RenderTriStrip(TriStripRequest<'input>)
RenderTriFan(TriFanRequest<'input>)
RenderCreateGlyphSet(CreateGlyphSetRequest)
RenderReferenceGlyphSet(ReferenceGlyphSetRequest)
RenderFreeGlyphSet(FreeGlyphSetRequest)
RenderAddGlyphs(AddGlyphsRequest<'input>)
RenderFreeGlyphs(FreeGlyphsRequest<'input>)
RenderCompositeGlyphs8(CompositeGlyphs8Request<'input>)
RenderCompositeGlyphs16(CompositeGlyphs16Request<'input>)
RenderCompositeGlyphs32(CompositeGlyphs32Request<'input>)
RenderFillRectangles(FillRectanglesRequest<'input>)
RenderCreateCursor(CreateCursorRequest)
RenderSetPictureTransform(SetPictureTransformRequest)
RenderQueryFilters(QueryFiltersRequest)
RenderSetPictureFilter(SetPictureFilterRequest<'input>)
RenderCreateAnimCursor(CreateAnimCursorRequest<'input>)
RenderAddTraps(AddTrapsRequest<'input>)
RenderCreateSolidFill(CreateSolidFillRequest)
RenderCreateLinearGradient(CreateLinearGradientRequest<'input>)
RenderCreateRadialGradient(CreateRadialGradientRequest<'input>)
RenderCreateConicalGradient(CreateConicalGradientRequest<'input>)
ShapeQueryVersion(QueryVersionRequest)
ShapeRectangles(RectanglesRequest<'input>)
ShapeMask(MaskRequest)
ShapeCombine(CombineRequest)
ShapeOffset(OffsetRequest)
ShapeQueryExtents(QueryExtentsRequest)
ShapeSelectInput(SelectInputRequest)
ShapeInputSelected(InputSelectedRequest)
ShapeGetRectangles(GetRectanglesRequest)
XcMiscGetVersion(GetVersionRequest)
XcMiscGetXIDRange(GetXIDRangeRequest)
XcMiscGetXIDList(GetXIDListRequest)
XfixesQueryVersion(QueryVersionRequest)
XfixesChangeSaveSet(ChangeSaveSetRequest)
XfixesSelectSelectionInput(SelectSelectionInputRequest)
XfixesSelectCursorInput(SelectCursorInputRequest)
XfixesGetCursorImage(GetCursorImageRequest)
XfixesCreateRegion(CreateRegionRequest<'input>)
XfixesCreateRegionFromBitmap(CreateRegionFromBitmapRequest)
XfixesCreateRegionFromWindow(CreateRegionFromWindowRequest)
XfixesCreateRegionFromGC(CreateRegionFromGCRequest)
XfixesCreateRegionFromPicture(CreateRegionFromPictureRequest)
XfixesDestroyRegion(DestroyRegionRequest)
XfixesSetRegion(SetRegionRequest<'input>)
XfixesCopyRegion(CopyRegionRequest)
XfixesUnionRegion(UnionRegionRequest)
XfixesIntersectRegion(IntersectRegionRequest)
XfixesSubtractRegion(SubtractRegionRequest)
XfixesInvertRegion(InvertRegionRequest)
XfixesTranslateRegion(TranslateRegionRequest)
XfixesRegionExtents(RegionExtentsRequest)
XfixesFetchRegion(FetchRegionRequest)
XfixesSetGCClipRegion(SetGCClipRegionRequest)
XfixesSetWindowShapeRegion(SetWindowShapeRegionRequest)
XfixesSetPictureClipRegion(SetPictureClipRegionRequest)
XfixesSetCursorName(SetCursorNameRequest<'input>)
XfixesGetCursorName(GetCursorNameRequest)
XfixesGetCursorImageAndName(GetCursorImageAndNameRequest)
XfixesChangeCursor(ChangeCursorRequest)
XfixesChangeCursorByName(ChangeCursorByNameRequest<'input>)
XfixesExpandRegion(ExpandRegionRequest)
XfixesHideCursor(HideCursorRequest)
XfixesShowCursor(ShowCursorRequest)
XfixesCreatePointerBarrier(CreatePointerBarrierRequest<'input>)
XfixesDeletePointerBarrier(DeletePointerBarrierRequest)
XfixesSetClientDisconnectMode(SetClientDisconnectModeRequest)
XfixesGetClientDisconnectMode(GetClientDisconnectModeRequest)
XinputGetExtensionVersion(GetExtensionVersionRequest<'input>)
XinputListInputDevices(ListInputDevicesRequest)
XinputOpenDevice(OpenDeviceRequest)
XinputCloseDevice(CloseDeviceRequest)
XinputSetDeviceMode(SetDeviceModeRequest)
XinputSelectExtensionEvent(SelectExtensionEventRequest<'input>)
XinputGetSelectedExtensionEvents(GetSelectedExtensionEventsRequest)
XinputChangeDeviceDontPropagateList(ChangeDeviceDontPropagateListRequest<'input>)
XinputGetDeviceDontPropagateList(GetDeviceDontPropagateListRequest)
XinputGetDeviceMotionEvents(GetDeviceMotionEventsRequest)
XinputChangeKeyboardDevice(ChangeKeyboardDeviceRequest)
XinputChangePointerDevice(ChangePointerDeviceRequest)
XinputGrabDevice(GrabDeviceRequest<'input>)
XinputUngrabDevice(UngrabDeviceRequest)
XinputGrabDeviceKey(GrabDeviceKeyRequest<'input>)
XinputUngrabDeviceKey(UngrabDeviceKeyRequest)
XinputGrabDeviceButton(GrabDeviceButtonRequest<'input>)
XinputUngrabDeviceButton(UngrabDeviceButtonRequest)
XinputAllowDeviceEvents(AllowDeviceEventsRequest)
XinputGetDeviceFocus(GetDeviceFocusRequest)
XinputSetDeviceFocus(SetDeviceFocusRequest)
XinputGetFeedbackControl(GetFeedbackControlRequest)
XinputChangeFeedbackControl(ChangeFeedbackControlRequest)
XinputGetDeviceKeyMapping(GetDeviceKeyMappingRequest)
XinputChangeDeviceKeyMapping(ChangeDeviceKeyMappingRequest<'input>)
XinputGetDeviceModifierMapping(GetDeviceModifierMappingRequest)
XinputSetDeviceModifierMapping(SetDeviceModifierMappingRequest<'input>)
XinputGetDeviceButtonMapping(GetDeviceButtonMappingRequest)
XinputSetDeviceButtonMapping(SetDeviceButtonMappingRequest<'input>)
XinputQueryDeviceState(QueryDeviceStateRequest)
XinputDeviceBell(DeviceBellRequest)
XinputSetDeviceValuators(SetDeviceValuatorsRequest<'input>)
XinputGetDeviceControl(GetDeviceControlRequest)
XinputChangeDeviceControl(ChangeDeviceControlRequest)
XinputListDeviceProperties(ListDevicePropertiesRequest)
XinputChangeDeviceProperty(ChangeDevicePropertyRequest<'input>)
XinputDeleteDeviceProperty(DeleteDevicePropertyRequest)
XinputGetDeviceProperty(GetDevicePropertyRequest)
XinputXIQueryPointer(XIQueryPointerRequest)
XinputXIWarpPointer(XIWarpPointerRequest)
XinputXIChangeCursor(XIChangeCursorRequest)
XinputXIChangeHierarchy(XIChangeHierarchyRequest<'input>)
XinputXISetClientPointer(XISetClientPointerRequest)
XinputXIGetClientPointer(XIGetClientPointerRequest)
XinputXISelectEvents(XISelectEventsRequest<'input>)
XinputXIQueryVersion(XIQueryVersionRequest)
XinputXIQueryDevice(XIQueryDeviceRequest)
XinputXISetFocus(XISetFocusRequest)
XinputXIGetFocus(XIGetFocusRequest)
XinputXIGrabDevice(XIGrabDeviceRequest<'input>)
XinputXIUngrabDevice(XIUngrabDeviceRequest)
XinputXIAllowEvents(XIAllowEventsRequest)
XinputXIPassiveGrabDevice(XIPassiveGrabDeviceRequest<'input>)
XinputXIPassiveUngrabDevice(XIPassiveUngrabDeviceRequest<'input>)
XinputXIListProperties(XIListPropertiesRequest)
XinputXIChangeProperty(XIChangePropertyRequest<'input>)
XinputXIDeleteProperty(XIDeletePropertyRequest)
XinputXIGetProperty(XIGetPropertyRequest)
XinputXIGetSelectedEvents(XIGetSelectedEventsRequest)
XinputXIBarrierReleasePointer(XIBarrierReleasePointerRequest<'input>)
XinputSendExtensionEvent(SendExtensionEventRequest<'input>)
XkbUseExtension(UseExtensionRequest)
XkbSelectEvents(SelectEventsRequest<'input>)
XkbBell(BellRequest)
XkbGetState(GetStateRequest)
XkbLatchLockState(LatchLockStateRequest)
XkbGetControls(GetControlsRequest)
XkbSetControls(SetControlsRequest<'input>)
XkbGetMap(GetMapRequest)
XkbSetMap(SetMapRequest<'input>)
XkbGetCompatMap(GetCompatMapRequest)
XkbSetCompatMap(SetCompatMapRequest<'input>)
XkbGetIndicatorState(GetIndicatorStateRequest)
XkbGetIndicatorMap(GetIndicatorMapRequest)
XkbSetIndicatorMap(SetIndicatorMapRequest<'input>)
XkbGetNamedIndicator(GetNamedIndicatorRequest)
XkbSetNamedIndicator(SetNamedIndicatorRequest)
XkbGetNames(GetNamesRequest)
XkbSetNames(SetNamesRequest<'input>)
XkbPerClientFlags(PerClientFlagsRequest)
XkbListComponents(ListComponentsRequest)
XkbGetKbdByName(GetKbdByNameRequest)
XkbGetDeviceInfo(GetDeviceInfoRequest)
XkbSetDeviceInfo(SetDeviceInfoRequest<'input>)
XkbSetDebuggingFlags(SetDebuggingFlagsRequest<'input>)
Implementations§
source§impl<'input> Request<'input>
impl<'input> Request<'input>
sourcepub fn reply_parser(
&self
) -> Option<for<'a> fn(_: &'a [u8], _: &mut Vec<OwnedFd>) -> Result<(Reply, &'a [u8]), ParseError>>
pub fn reply_parser( &self ) -> Option<for<'a> fn(_: &'a [u8], _: &mut Vec<OwnedFd>) -> Result<(Reply, &'a [u8]), ParseError>>
Get the matching reply parser (if any) for this request.
For Request::Unknown
, None
is also returned.
sourcepub fn into_owned(self) -> Request<'static>
pub fn into_owned(self) -> Request<'static>
Convert this Request into an owned version with no borrows.
Trait Implementations§
Auto Trait Implementations§
impl<'input> RefUnwindSafe for Request<'input>
impl<'input> Send for Request<'input>
impl<'input> Sync for Request<'input>
impl<'input> Unpin for Request<'input>
impl<'input> UnwindSafe for Request<'input>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more