Trait xcb::Reply

source ·
pub trait Reply {
    // Required methods
    unsafe fn from_raw(raw: *const u8) -> Self;
    unsafe fn into_raw(self) -> *const u8;
    unsafe fn as_raw(&self) -> *const u8;
}
Expand description

Trait for request replies

Required Methods§

source

unsafe fn from_raw(raw: *const u8) -> Self

Build the reply struct from a raw pointer.

§Safety

raw must be a pointer to a valid wire representation of Self, allocated with libc::malloc.

source

unsafe fn into_raw(self) -> *const u8

Consume the reply struct into a raw pointer.

§Safety

The returned pointer must be freed with libc::free to avoid any memory leak, or be used to build another reply.

source

unsafe fn as_raw(&self) -> *const u8

Get the raw pointer of the XCB reply.

§Safety

The returned pointer must NOT be freed. Passing this pointer to libc::free will result in a double free when the reply is dropped.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Reply for EnableReply

source§

impl Reply for GetOverlayWindowReply

source§

impl Reply for xcb::composite::QueryVersionReply

source§

impl Reply for xcb::damage::QueryVersionReply

source§

impl Reply for CapableReply

source§

impl Reply for GetTimeoutsReply

source§

impl Reply for xcb::dpms::GetVersionReply

source§

impl Reply for InfoReply

source§

impl Reply for AuthenticateReply

source§

impl Reply for ConnectReply

source§

impl Reply for CopyRegionReply

source§

impl Reply for GetBuffersReply

source§

impl Reply for GetBuffersWithFormatReply

source§

impl Reply for GetMscReply

source§

impl Reply for GetParamReply

source§

impl Reply for xcb::dri2::QueryVersionReply

source§

impl Reply for SwapBuffersReply

source§

impl Reply for WaitMscReply

source§

impl Reply for WaitSbcReply

source§

impl Reply for BufferFromPixmapReply

source§

impl Reply for BuffersFromPixmapReply

source§

impl Reply for FdFromFenceReply

source§

impl Reply for GetSupportedModifiersReply

source§

impl Reply for OpenReply

source§

impl Reply for xcb::dri3::QueryVersionReply

source§

impl Reply for xcb::ge::QueryVersionReply

source§

impl Reply for AreTexturesResidentReply

source§

impl Reply for FinishReply

source§

impl Reply for GenListsReply

source§

impl Reply for GenQueriesArbReply

source§

impl Reply for GenTexturesReply

source§

impl Reply for GetBooleanvReply

source§

impl Reply for GetClipPlaneReply

source§

impl Reply for GetColorTableParameterfvReply

source§

impl Reply for GetColorTableParameterivReply

source§

impl Reply for GetColorTableReply

source§

impl Reply for GetCompressedTexImageArbReply

source§

impl Reply for GetConvolutionFilterReply

source§

impl Reply for GetConvolutionParameterfvReply

source§

impl Reply for GetConvolutionParameterivReply

source§

impl Reply for GetDoublevReply

source§

impl Reply for GetDrawableAttributesReply

source§

impl Reply for GetErrorReply

source§

impl Reply for GetFbConfigsReply

source§

impl Reply for GetFloatvReply

source§

impl Reply for GetHistogramParameterfvReply

source§

impl Reply for GetHistogramParameterivReply

source§

impl Reply for GetHistogramReply

source§

impl Reply for GetIntegervReply

source§

impl Reply for GetLightfvReply

source§

impl Reply for GetLightivReply

source§

impl Reply for GetMapdvReply

source§

impl Reply for GetMapfvReply

source§

impl Reply for GetMapivReply

source§

impl Reply for GetMaterialfvReply

source§

impl Reply for GetMaterialivReply

source§

impl Reply for GetMinmaxParameterfvReply

source§

impl Reply for GetMinmaxParameterivReply

source§

impl Reply for GetMinmaxReply

source§

impl Reply for GetPixelMapfvReply

source§

impl Reply for GetPixelMapuivReply

source§

impl Reply for GetPixelMapusvReply

source§

impl Reply for GetPolygonStippleReply

source§

impl Reply for GetQueryObjectivArbReply

source§

impl Reply for GetQueryObjectuivArbReply

source§

impl Reply for GetQueryivArbReply

source§

impl Reply for GetSeparableFilterReply

source§

impl Reply for GetStringReply

source§

impl Reply for GetTexEnvfvReply

source§

impl Reply for GetTexEnvivReply

source§

impl Reply for GetTexGendvReply

source§

impl Reply for GetTexGenfvReply

source§

impl Reply for GetTexGenivReply

source§

impl Reply for GetTexImageReply

source§

impl Reply for GetTexLevelParameterfvReply

source§

impl Reply for GetTexLevelParameterivReply

source§

impl Reply for GetTexParameterfvReply

source§

impl Reply for GetTexParameterivReply

source§

impl Reply for GetVisualConfigsReply

source§

impl Reply for IsDirectReply

source§

impl Reply for IsEnabledReply

source§

impl Reply for IsListReply

source§

impl Reply for IsQueryArbReply

source§

impl Reply for IsTextureReply

source§

impl Reply for MakeContextCurrentReply

source§

impl Reply for MakeCurrentReply

source§

impl Reply for QueryContextReply

source§

impl Reply for QueryExtensionsStringReply

source§

impl Reply for QueryServerStringReply

source§

impl Reply for xcb::glx::QueryVersionReply

source§

impl Reply for ReadPixelsReply

source§

impl Reply for RenderModeReply

source§

impl Reply for VendorPrivateWithReplyReply

source§

impl Reply for QueryCapabilitiesReply

source§

impl Reply for xcb::present::QueryVersionReply

source§

impl Reply for CreateLeaseReply

source§

impl Reply for CreateModeReply

source§

impl Reply for GetCrtcGammaReply

source§

impl Reply for GetCrtcGammaSizeReply

source§

impl Reply for GetCrtcInfoReply

source§

impl Reply for GetCrtcTransformReply

source§

impl Reply for GetMonitorsReply

source§

impl Reply for GetOutputInfoReply

source§

impl Reply for GetOutputPrimaryReply

source§

impl Reply for GetOutputPropertyReply

source§

impl Reply for GetPanningReply

source§

impl Reply for GetProviderInfoReply

source§

impl Reply for GetProviderPropertyReply

source§

impl Reply for GetProvidersReply

source§

impl Reply for GetScreenInfoReply

source§

impl Reply for GetScreenResourcesCurrentReply

source§

impl Reply for GetScreenResourcesReply

source§

impl Reply for GetScreenSizeRangeReply

source§

impl Reply for ListOutputPropertiesReply

source§

impl Reply for ListProviderPropertiesReply

source§

impl Reply for QueryOutputPropertyReply

source§

impl Reply for QueryProviderPropertyReply

source§

impl Reply for xcb::randr::QueryVersionReply

source§

impl Reply for SetCrtcConfigReply

source§

impl Reply for SetPanningReply

source§

impl Reply for SetScreenConfigReply

source§

impl Reply for EnableContextReply

source§

impl Reply for GetContextReply

source§

impl Reply for xcb::record::QueryVersionReply

source§

impl Reply for QueryFiltersReply

source§

impl Reply for QueryPictFormatsReply

source§

impl Reply for QueryPictIndexValuesReply

source§

impl Reply for xcb::render::QueryVersionReply

source§

impl Reply for QueryClientIdsReply

source§

impl Reply for QueryClientPixmapBytesReply

source§

impl Reply for QueryClientResourcesReply

source§

impl Reply for QueryClientsReply

source§

impl Reply for QueryResourceBytesReply

source§

impl Reply for xcb::res::QueryVersionReply

source§

impl Reply for QueryInfoReply

source§

impl Reply for xcb::screensaver::QueryVersionReply

source§

impl Reply for GetRectanglesReply

source§

impl Reply for InputSelectedReply

source§

impl Reply for QueryExtentsReply

source§

impl Reply for xcb::shape::QueryVersionReply

source§

impl Reply for CreateSegmentReply

source§

impl Reply for xcb::shm::GetImageReply

source§

impl Reply for xcb::shm::QueryVersionReply

source§

impl Reply for GetPriorityReply

source§

impl Reply for InitializeReply

source§

impl Reply for ListSystemCountersReply

source§

impl Reply for QueryAlarmReply

source§

impl Reply for QueryCounterReply

source§

impl Reply for QueryFenceReply

source§

impl Reply for AllocColorCellsReply

source§

impl Reply for AllocColorPlanesReply

source§

impl Reply for AllocColorReply

source§

impl Reply for AllocNamedColorReply

source§

impl Reply for GetAtomNameReply

source§

impl Reply for GetFontPathReply

source§

impl Reply for GetGeometryReply

source§

impl Reply for xcb::x::GetImageReply

source§

impl Reply for GetInputFocusReply

source§

impl Reply for GetKeyboardControlReply

source§

impl Reply for GetKeyboardMappingReply

source§

impl Reply for GetModifierMappingReply

source§

impl Reply for GetMotionEventsReply

source§

impl Reply for GetPointerControlReply

source§

impl Reply for GetPointerMappingReply

source§

impl Reply for GetPropertyReply

source§

impl Reply for GetScreenSaverReply

source§

impl Reply for GetSelectionOwnerReply

source§

impl Reply for GetWindowAttributesReply

source§

impl Reply for GrabKeyboardReply

source§

impl Reply for GrabPointerReply

source§

impl Reply for InternAtomReply

source§

impl Reply for ListExtensionsReply

source§

impl Reply for ListFontsReply

source§

impl Reply for ListFontsWithInfoReply

source§

impl Reply for ListHostsReply

source§

impl Reply for ListInstalledColormapsReply

source§

impl Reply for xcb::x::ListPropertiesReply

source§

impl Reply for LookupColorReply

source§

impl Reply for xcb::x::QueryBestSizeReply

source§

impl Reply for QueryColorsReply

source§

impl Reply for xcb::x::QueryExtensionReply

source§

impl Reply for QueryFontReply

source§

impl Reply for QueryKeymapReply

source§

impl Reply for QueryPointerReply

source§

impl Reply for QueryTextExtentsReply

source§

impl Reply for QueryTreeReply

source§

impl Reply for SetModifierMappingReply

source§

impl Reply for SetPointerMappingReply

source§

impl Reply for TranslateCoordinatesReply

source§

impl Reply for xcb::xc_misc::GetVersionReply

source§

impl Reply for GetXidListReply

source§

impl Reply for GetXidRangeReply

source§

impl Reply for EndReply

source§

impl Reply for xcb::xevie::QueryVersionReply

source§

impl Reply for SelectInputReply

source§

impl Reply for SendReply

source§

impl Reply for StartReply

source§

impl Reply for AuthConnectionReply

source§

impl Reply for xcb::xf86dri::CreateContextReply

source§

impl Reply for CreateDrawableReply

source§

impl Reply for GetClientDriverNameReply

source§

impl Reply for xcb::xf86dri::GetDeviceInfoReply

source§

impl Reply for GetDrawableInfoReply

source§

impl Reply for OpenConnectionReply

source§

impl Reply for QueryDirectRenderingCapableReply

source§

impl Reply for xcb::xf86dri::QueryVersionReply

source§

impl Reply for GetAllModeLinesReply

source§

impl Reply for GetDotClocksReply

source§

impl Reply for GetGammaRampReply

source§

impl Reply for GetGammaRampSizeReply

source§

impl Reply for GetGammaReply

source§

impl Reply for GetModeLineReply

source§

impl Reply for GetMonitorReply

source§

impl Reply for GetPermissionsReply

source§

impl Reply for GetViewPortReply

source§

impl Reply for xcb::xf86vidmode::QueryVersionReply

source§

impl Reply for ValidateModeLineReply

source§

impl Reply for FetchRegionReply

source§

impl Reply for GetCursorImageAndNameReply

source§

impl Reply for GetCursorImageReply

source§

impl Reply for GetCursorNameReply

source§

impl Reply for xcb::xfixes::QueryVersionReply

source§

impl Reply for GetScreenCountReply

source§

impl Reply for GetScreenSizeReply

source§

impl Reply for xcb::xinerama::GetStateReply

source§

impl Reply for IsActiveReply

source§

impl Reply for QueryScreensReply

source§

impl Reply for xcb::xinerama::QueryVersionReply

source§

impl Reply for ChangeDeviceControlReply

source§

impl Reply for ChangeKeyboardDeviceReply

source§

impl Reply for ChangePointerDeviceReply

source§

impl Reply for GetDeviceButtonMappingReply

source§

impl Reply for GetDeviceControlReply

source§

impl Reply for GetDeviceDontPropagateListReply

source§

impl Reply for GetDeviceFocusReply

source§

impl Reply for GetDeviceKeyMappingReply

source§

impl Reply for GetDeviceModifierMappingReply

source§

impl Reply for GetDeviceMotionEventsReply

source§

impl Reply for GetDevicePropertyReply

source§

impl Reply for GetExtensionVersionReply

source§

impl Reply for GetFeedbackControlReply

source§

impl Reply for GetSelectedExtensionEventsReply

source§

impl Reply for GrabDeviceReply

source§

impl Reply for ListDevicePropertiesReply

source§

impl Reply for ListInputDevicesReply

source§

impl Reply for OpenDeviceReply

source§

impl Reply for QueryDeviceStateReply

source§

impl Reply for SetDeviceButtonMappingReply

source§

impl Reply for SetDeviceModeReply

source§

impl Reply for SetDeviceModifierMappingReply

source§

impl Reply for SetDeviceValuatorsReply

source§

impl Reply for XiGetClientPointerReply

source§

impl Reply for XiGetFocusReply

source§

impl Reply for XiGetPropertyReply

source§

impl Reply for XiGetSelectedEventsReply

source§

impl Reply for XiGrabDeviceReply

source§

impl Reply for XiListPropertiesReply

source§

impl Reply for XiPassiveGrabDeviceReply

source§

impl Reply for XiQueryDeviceReply

source§

impl Reply for XiQueryPointerReply

source§

impl Reply for XiQueryVersionReply

source§

impl Reply for GetCompatMapReply

source§

impl Reply for GetControlsReply

source§

impl Reply for xcb::xkb::GetDeviceInfoReply

source§

impl Reply for GetIndicatorMapReply

source§

impl Reply for GetIndicatorStateReply

source§

impl Reply for GetKbdByNameReply

source§

impl Reply for GetMapReply

source§

impl Reply for GetNamedIndicatorReply

source§

impl Reply for GetNamesReply

source§

impl Reply for xcb::xkb::GetStateReply

source§

impl Reply for ListComponentsReply

source§

impl Reply for PerClientFlagsReply

source§

impl Reply for SetDebuggingFlagsReply

source§

impl Reply for UseExtensionReply

source§

impl Reply for PrintGetAttributesReply

source§

impl Reply for PrintGetContextReply

source§

impl Reply for PrintGetDocumentDataReply

source§

impl Reply for PrintGetImageResolutionReply

source§

impl Reply for PrintGetOneAttributesReply

source§

impl Reply for PrintGetPageDimensionsReply

source§

impl Reply for PrintGetPrinterListReply

source§

impl Reply for PrintGetScreenOfContextReply

source§

impl Reply for PrintInputSelectedReply

source§

impl Reply for PrintQueryScreensReply

source§

impl Reply for PrintQueryVersionReply

source§

impl Reply for PrintSetImageResolutionReply

source§

impl Reply for GetClientContextReply

source§

impl Reply for GetDeviceContextReply

source§

impl Reply for GetDeviceCreateContextReply

source§

impl Reply for GetPropertyContextReply

source§

impl Reply for GetPropertyCreateContextReply

source§

impl Reply for GetPropertyDataContextReply

source§

impl Reply for GetPropertyUseContextReply

source§

impl Reply for GetSelectionContextReply

source§

impl Reply for GetSelectionCreateContextReply

source§

impl Reply for GetSelectionDataContextReply

source§

impl Reply for GetSelectionUseContextReply

source§

impl Reply for GetWindowContextReply

source§

impl Reply for GetWindowCreateContextReply

source§

impl Reply for xcb::xselinux::ListPropertiesReply

source§

impl Reply for ListSelectionsReply

source§

impl Reply for xcb::xselinux::QueryVersionReply

source§

impl Reply for CompareCursorReply

source§

impl Reply for xcb::xtest::GetVersionReply

source§

impl Reply for GetPortAttributeReply

source§

impl Reply for GrabPortReply

source§

impl Reply for ListImageFormatsReply

source§

impl Reply for QueryAdaptorsReply

source§

impl Reply for xcb::xv::QueryBestSizeReply

source§

impl Reply for QueryEncodingsReply

source§

impl Reply for xcb::xv::QueryExtensionReply

source§

impl Reply for QueryImageAttributesReply

source§

impl Reply for QueryPortAttributesReply

source§

impl Reply for xcb::xvmc::CreateContextReply

source§

impl Reply for CreateSubpictureReply

source§

impl Reply for CreateSurfaceReply

source§

impl Reply for ListSubpictureTypesReply

source§

impl Reply for ListSurfaceTypesReply

source§

impl Reply for xcb::xvmc::QueryVersionReply