Struct Weak
pub struct Weak<I> { /* private fields */ }Available on crate feature
wayland and Linux only.Expand description
A weak handle to a Wayland object
This handle does not keep the underlying user data alive, and can be converted back to a full proxy
using Weak::upgrade().
Implementations§
Trait Implementations§
Source§impl PartialEq<Weak<CosmicCornerRadiusManagerV1>> for CosmicCornerRadiusManagerV1
impl PartialEq<Weak<CosmicCornerRadiusManagerV1>> for CosmicCornerRadiusManagerV1
Source§impl PartialEq<Weak<CosmicCornerRadiusToplevelV1>> for CosmicCornerRadiusToplevelV1
impl PartialEq<Weak<CosmicCornerRadiusToplevelV1>> for CosmicCornerRadiusToplevelV1
§impl PartialEq<Weak<ExtBackgroundEffectManagerV1>> for ExtBackgroundEffectManagerV1
impl PartialEq<Weak<ExtBackgroundEffectManagerV1>> for ExtBackgroundEffectManagerV1
§fn eq(&self, other: &Weak<ExtBackgroundEffectManagerV1>) -> bool
fn eq(&self, other: &Weak<ExtBackgroundEffectManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ExtBackgroundEffectSurfaceV1>> for ExtBackgroundEffectSurfaceV1
impl PartialEq<Weak<ExtBackgroundEffectSurfaceV1>> for ExtBackgroundEffectSurfaceV1
§fn eq(&self, other: &Weak<ExtBackgroundEffectSurfaceV1>) -> bool
fn eq(&self, other: &Weak<ExtBackgroundEffectSurfaceV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ExtDataControlOfferV1>> for ExtDataControlOfferV1
impl PartialEq<Weak<ExtDataControlOfferV1>> for ExtDataControlOfferV1
§impl PartialEq<Weak<ExtForeignToplevelImageCaptureSourceManagerV1>> for ExtForeignToplevelImageCaptureSourceManagerV1
impl PartialEq<Weak<ExtForeignToplevelImageCaptureSourceManagerV1>> for ExtForeignToplevelImageCaptureSourceManagerV1
§fn eq(
&self,
other: &Weak<ExtForeignToplevelImageCaptureSourceManagerV1>,
) -> bool
fn eq( &self, other: &Weak<ExtForeignToplevelImageCaptureSourceManagerV1>, ) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ExtIdleNotificationV1>> for ExtIdleNotificationV1
impl PartialEq<Weak<ExtIdleNotificationV1>> for ExtIdleNotificationV1
§impl PartialEq<Weak<ExtIdleNotifierV1>> for ExtIdleNotifierV1
impl PartialEq<Weak<ExtIdleNotifierV1>> for ExtIdleNotifierV1
§impl PartialEq<Weak<ExtImageCopyCaptureCursorSessionV1>> for ExtImageCopyCaptureCursorSessionV1
impl PartialEq<Weak<ExtImageCopyCaptureCursorSessionV1>> for ExtImageCopyCaptureCursorSessionV1
§fn eq(&self, other: &Weak<ExtImageCopyCaptureCursorSessionV1>) -> bool
fn eq(&self, other: &Weak<ExtImageCopyCaptureCursorSessionV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ExtImageCopyCaptureManagerV1>> for ExtImageCopyCaptureManagerV1
impl PartialEq<Weak<ExtImageCopyCaptureManagerV1>> for ExtImageCopyCaptureManagerV1
§fn eq(&self, other: &Weak<ExtImageCopyCaptureManagerV1>) -> bool
fn eq(&self, other: &Weak<ExtImageCopyCaptureManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ExtImageCopyCaptureSessionV1>> for ExtImageCopyCaptureSessionV1
impl PartialEq<Weak<ExtImageCopyCaptureSessionV1>> for ExtImageCopyCaptureSessionV1
§fn eq(&self, other: &Weak<ExtImageCopyCaptureSessionV1>) -> bool
fn eq(&self, other: &Weak<ExtImageCopyCaptureSessionV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ExtOutputImageCaptureSourceManagerV1>> for ExtOutputImageCaptureSourceManagerV1
impl PartialEq<Weak<ExtOutputImageCaptureSourceManagerV1>> for ExtOutputImageCaptureSourceManagerV1
§fn eq(&self, other: &Weak<ExtOutputImageCaptureSourceManagerV1>) -> bool
fn eq(&self, other: &Weak<ExtOutputImageCaptureSourceManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ExtSessionLockV1>> for ExtSessionLockV1
impl PartialEq<Weak<ExtSessionLockV1>> for ExtSessionLockV1
§impl PartialEq<Weak<ExtTransientSeatV1>> for ExtTransientSeatV1
impl PartialEq<Weak<ExtTransientSeatV1>> for ExtTransientSeatV1
§impl PartialEq<Weak<ExtWorkspaceHandleV1>> for ExtWorkspaceHandleV1
impl PartialEq<Weak<ExtWorkspaceHandleV1>> for ExtWorkspaceHandleV1
§impl PartialEq<Weak<ExtWorkspaceManagerV1>> for ExtWorkspaceManagerV1
impl PartialEq<Weak<ExtWorkspaceManagerV1>> for ExtWorkspaceManagerV1
§impl PartialEq<Weak<GtkPrimarySelectionDeviceManager>> for GtkPrimarySelectionDeviceManager
impl PartialEq<Weak<GtkPrimarySelectionDeviceManager>> for GtkPrimarySelectionDeviceManager
§fn eq(&self, other: &Weak<GtkPrimarySelectionDeviceManager>) -> bool
fn eq(&self, other: &Weak<GtkPrimarySelectionDeviceManager>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<OrgKdeKwinServerDecorationManager>> for OrgKdeKwinServerDecorationManager
impl PartialEq<Weak<OrgKdeKwinServerDecorationManager>> for OrgKdeKwinServerDecorationManager
§fn eq(&self, other: &Weak<OrgKdeKwinServerDecorationManager>) -> bool
fn eq(&self, other: &Weak<OrgKdeKwinServerDecorationManager>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WlCallback>> for WlCallback
impl PartialEq<Weak<WlCallback>> for WlCallback
§impl PartialEq<Weak<WlCompositor>> for WlCompositor
impl PartialEq<Weak<WlCompositor>> for WlCompositor
§impl PartialEq<Weak<WlDataDevice>> for WlDataDevice
impl PartialEq<Weak<WlDataDevice>> for WlDataDevice
§impl PartialEq<Weak<WlDataDeviceManager>> for WlDataDeviceManager
impl PartialEq<Weak<WlDataDeviceManager>> for WlDataDeviceManager
§impl PartialEq<Weak<WlDataOffer>> for WlDataOffer
impl PartialEq<Weak<WlDataOffer>> for WlDataOffer
§impl PartialEq<Weak<WlDataSource>> for WlDataSource
impl PartialEq<Weak<WlDataSource>> for WlDataSource
§impl PartialEq<Weak<WlKeyboard>> for WlKeyboard
impl PartialEq<Weak<WlKeyboard>> for WlKeyboard
§impl PartialEq<Weak<WlRegistry>> for WlRegistry
impl PartialEq<Weak<WlRegistry>> for WlRegistry
§impl PartialEq<Weak<WlShellSurface>> for WlShellSurface
impl PartialEq<Weak<WlShellSurface>> for WlShellSurface
§impl PartialEq<Weak<WlSubcompositor>> for WlSubcompositor
impl PartialEq<Weak<WlSubcompositor>> for WlSubcompositor
§impl PartialEq<Weak<WlSubsurface>> for WlSubsurface
impl PartialEq<Weak<WlSubsurface>> for WlSubsurface
§impl PartialEq<Weak<WpAlphaModifierV1>> for WpAlphaModifierV1
impl PartialEq<Weak<WpAlphaModifierV1>> for WpAlphaModifierV1
§impl PartialEq<Weak<WpColorManagementSurfaceFeedbackV1>> for WpColorManagementSurfaceFeedbackV1
impl PartialEq<Weak<WpColorManagementSurfaceFeedbackV1>> for WpColorManagementSurfaceFeedbackV1
§fn eq(&self, other: &Weak<WpColorManagementSurfaceFeedbackV1>) -> bool
fn eq(&self, other: &Weak<WpColorManagementSurfaceFeedbackV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WpColorManagerV1>> for WpColorManagerV1
impl PartialEq<Weak<WpColorManagerV1>> for WpColorManagerV1
§impl PartialEq<Weak<WpColorRepresentationManagerV1>> for WpColorRepresentationManagerV1
impl PartialEq<Weak<WpColorRepresentationManagerV1>> for WpColorRepresentationManagerV1
§fn eq(&self, other: &Weak<WpColorRepresentationManagerV1>) -> bool
fn eq(&self, other: &Weak<WpColorRepresentationManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WpColorRepresentationSurfaceV1>> for WpColorRepresentationSurfaceV1
impl PartialEq<Weak<WpColorRepresentationSurfaceV1>> for WpColorRepresentationSurfaceV1
§fn eq(&self, other: &Weak<WpColorRepresentationSurfaceV1>) -> bool
fn eq(&self, other: &Weak<WpColorRepresentationSurfaceV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WpCommitTimerV1>> for WpCommitTimerV1
impl PartialEq<Weak<WpCommitTimerV1>> for WpCommitTimerV1
§impl PartialEq<Weak<WpContentTypeV1>> for WpContentTypeV1
impl PartialEq<Weak<WpContentTypeV1>> for WpContentTypeV1
§impl PartialEq<Weak<WpCursorShapeDeviceV1>> for WpCursorShapeDeviceV1
impl PartialEq<Weak<WpCursorShapeDeviceV1>> for WpCursorShapeDeviceV1
§impl PartialEq<Weak<WpDrmLeaseConnectorV1>> for WpDrmLeaseConnectorV1
impl PartialEq<Weak<WpDrmLeaseConnectorV1>> for WpDrmLeaseConnectorV1
§impl PartialEq<Weak<WpDrmLeaseDeviceV1>> for WpDrmLeaseDeviceV1
impl PartialEq<Weak<WpDrmLeaseDeviceV1>> for WpDrmLeaseDeviceV1
§impl PartialEq<Weak<WpDrmLeaseRequestV1>> for WpDrmLeaseRequestV1
impl PartialEq<Weak<WpDrmLeaseRequestV1>> for WpDrmLeaseRequestV1
§impl PartialEq<Weak<WpDrmLeaseV1>> for WpDrmLeaseV1
impl PartialEq<Weak<WpDrmLeaseV1>> for WpDrmLeaseV1
§impl PartialEq<Weak<WpFifoManagerV1>> for WpFifoManagerV1
impl PartialEq<Weak<WpFifoManagerV1>> for WpFifoManagerV1
§impl PartialEq<Weak<WpFractionalScaleV1>> for WpFractionalScaleV1
impl PartialEq<Weak<WpFractionalScaleV1>> for WpFractionalScaleV1
§impl PartialEq<Weak<WpImageDescriptionCreatorIccV1>> for WpImageDescriptionCreatorIccV1
impl PartialEq<Weak<WpImageDescriptionCreatorIccV1>> for WpImageDescriptionCreatorIccV1
§fn eq(&self, other: &Weak<WpImageDescriptionCreatorIccV1>) -> bool
fn eq(&self, other: &Weak<WpImageDescriptionCreatorIccV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WpImageDescriptionCreatorParamsV1>> for WpImageDescriptionCreatorParamsV1
impl PartialEq<Weak<WpImageDescriptionCreatorParamsV1>> for WpImageDescriptionCreatorParamsV1
§fn eq(&self, other: &Weak<WpImageDescriptionCreatorParamsV1>) -> bool
fn eq(&self, other: &Weak<WpImageDescriptionCreatorParamsV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WpImageDescriptionReferenceV1>> for WpImageDescriptionReferenceV1
impl PartialEq<Weak<WpImageDescriptionReferenceV1>> for WpImageDescriptionReferenceV1
§fn eq(&self, other: &Weak<WpImageDescriptionReferenceV1>) -> bool
fn eq(&self, other: &Weak<WpImageDescriptionReferenceV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WpImageDescriptionV1>> for WpImageDescriptionV1
impl PartialEq<Weak<WpImageDescriptionV1>> for WpImageDescriptionV1
§impl PartialEq<Weak<WpPointerWarpV1>> for WpPointerWarpV1
impl PartialEq<Weak<WpPointerWarpV1>> for WpPointerWarpV1
§impl PartialEq<Weak<WpPresentation>> for WpPresentation
impl PartialEq<Weak<WpPresentation>> for WpPresentation
§impl PartialEq<Weak<WpSecurityContextV1>> for WpSecurityContextV1
impl PartialEq<Weak<WpSecurityContextV1>> for WpSecurityContextV1
§impl PartialEq<Weak<WpSinglePixelBufferManagerV1>> for WpSinglePixelBufferManagerV1
impl PartialEq<Weak<WpSinglePixelBufferManagerV1>> for WpSinglePixelBufferManagerV1
§fn eq(&self, other: &Weak<WpSinglePixelBufferManagerV1>) -> bool
fn eq(&self, other: &Weak<WpSinglePixelBufferManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<WpTearingControlV1>> for WpTearingControlV1
impl PartialEq<Weak<WpTearingControlV1>> for WpTearingControlV1
§impl PartialEq<Weak<WpViewport>> for WpViewport
impl PartialEq<Weak<WpViewport>> for WpViewport
§impl PartialEq<Weak<WpViewporter>> for WpViewporter
impl PartialEq<Weak<WpViewporter>> for WpViewporter
§impl PartialEq<Weak<XdgActivationTokenV1>> for XdgActivationTokenV1
impl PartialEq<Weak<XdgActivationTokenV1>> for XdgActivationTokenV1
§impl PartialEq<Weak<XdgActivationV1>> for XdgActivationV1
impl PartialEq<Weak<XdgActivationV1>> for XdgActivationV1
§impl PartialEq<Weak<XdgDialogV1>> for XdgDialogV1
impl PartialEq<Weak<XdgDialogV1>> for XdgDialogV1
§impl PartialEq<Weak<XdgPositioner>> for XdgPositioner
impl PartialEq<Weak<XdgPositioner>> for XdgPositioner
§impl PartialEq<Weak<XdgSurface>> for XdgSurface
impl PartialEq<Weak<XdgSurface>> for XdgSurface
§impl PartialEq<Weak<XdgSystemBellV1>> for XdgSystemBellV1
impl PartialEq<Weak<XdgSystemBellV1>> for XdgSystemBellV1
§impl PartialEq<Weak<XdgToplevel>> for XdgToplevel
impl PartialEq<Weak<XdgToplevel>> for XdgToplevel
§impl PartialEq<Weak<XdgToplevelDragV1>> for XdgToplevelDragV1
impl PartialEq<Weak<XdgToplevelDragV1>> for XdgToplevelDragV1
§impl PartialEq<Weak<XdgToplevelIconV1>> for XdgToplevelIconV1
impl PartialEq<Weak<XdgToplevelIconV1>> for XdgToplevelIconV1
§impl PartialEq<Weak<XdgWmDialogV1>> for XdgWmDialogV1
impl PartialEq<Weak<XdgWmDialogV1>> for XdgWmDialogV1
§impl PartialEq<Weak<XwaylandShellV1>> for XwaylandShellV1
impl PartialEq<Weak<XwaylandShellV1>> for XwaylandShellV1
§impl PartialEq<Weak<XwaylandSurfaceV1>> for XwaylandSurfaceV1
impl PartialEq<Weak<XwaylandSurfaceV1>> for XwaylandSurfaceV1
§impl PartialEq<Weak<XxInputMethodV1>> for XxInputMethodV1
impl PartialEq<Weak<XxInputMethodV1>> for XxInputMethodV1
§impl PartialEq<Weak<XxInputPopupSurfaceV2>> for XxInputPopupSurfaceV2
impl PartialEq<Weak<XxInputPopupSurfaceV2>> for XxInputPopupSurfaceV2
§impl PartialEq<Weak<XxSessionManagerV1>> for XxSessionManagerV1
impl PartialEq<Weak<XxSessionManagerV1>> for XxSessionManagerV1
§impl PartialEq<Weak<XxSessionV1>> for XxSessionV1
impl PartialEq<Weak<XxSessionV1>> for XxSessionV1
§impl PartialEq<Weak<XxToplevelSessionV1>> for XxToplevelSessionV1
impl PartialEq<Weak<XxToplevelSessionV1>> for XxToplevelSessionV1
Source§impl PartialEq<Weak<ZcosmicOutputConfigurationHeadV1>> for ZcosmicOutputConfigurationHeadV1
impl PartialEq<Weak<ZcosmicOutputConfigurationHeadV1>> for ZcosmicOutputConfigurationHeadV1
Source§impl PartialEq<Weak<ZcosmicOutputConfigurationV1>> for ZcosmicOutputConfigurationV1
impl PartialEq<Weak<ZcosmicOutputConfigurationV1>> for ZcosmicOutputConfigurationV1
Source§impl PartialEq<Weak<ZcosmicOutputManagerV1>> for ZcosmicOutputManagerV1
impl PartialEq<Weak<ZcosmicOutputManagerV1>> for ZcosmicOutputManagerV1
Source§impl PartialEq<Weak<ZcosmicOverlapNotificationV1>> for ZcosmicOverlapNotificationV1
impl PartialEq<Weak<ZcosmicOverlapNotificationV1>> for ZcosmicOverlapNotificationV1
Source§impl PartialEq<Weak<ZcosmicOverlapNotifyV1>> for ZcosmicOverlapNotifyV1
impl PartialEq<Weak<ZcosmicOverlapNotifyV1>> for ZcosmicOverlapNotifyV1
Source§impl PartialEq<Weak<ZcosmicToplevelHandleV1>> for ZcosmicToplevelHandleV1
impl PartialEq<Weak<ZcosmicToplevelHandleV1>> for ZcosmicToplevelHandleV1
Source§impl PartialEq<Weak<ZcosmicToplevelManagerV1>> for ZcosmicToplevelManagerV1
impl PartialEq<Weak<ZcosmicToplevelManagerV1>> for ZcosmicToplevelManagerV1
Source§impl PartialEq<Weak<ZcosmicWorkspaceHandleV2>> for ZcosmicWorkspaceHandleV2
impl PartialEq<Weak<ZcosmicWorkspaceHandleV2>> for ZcosmicWorkspaceHandleV2
Source§impl PartialEq<Weak<ZcosmicWorkspaceImageCaptureSourceManagerV1>> for ZcosmicWorkspaceImageCaptureSourceManagerV1
impl PartialEq<Weak<ZcosmicWorkspaceImageCaptureSourceManagerV1>> for ZcosmicWorkspaceImageCaptureSourceManagerV1
Source§impl PartialEq<Weak<ZcosmicWorkspaceManagerV2>> for ZcosmicWorkspaceManagerV2
impl PartialEq<Weak<ZcosmicWorkspaceManagerV2>> for ZcosmicWorkspaceManagerV2
§impl PartialEq<Weak<ZwlrForeignToplevelManagerV1>> for ZwlrForeignToplevelManagerV1
impl PartialEq<Weak<ZwlrForeignToplevelManagerV1>> for ZwlrForeignToplevelManagerV1
§fn eq(&self, other: &Weak<ZwlrForeignToplevelManagerV1>) -> bool
fn eq(&self, other: &Weak<ZwlrForeignToplevelManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwlrGammaControlV1>> for ZwlrGammaControlV1
impl PartialEq<Weak<ZwlrGammaControlV1>> for ZwlrGammaControlV1
§impl PartialEq<Weak<ZwlrInputInhibitorV1>> for ZwlrInputInhibitorV1
impl PartialEq<Weak<ZwlrInputInhibitorV1>> for ZwlrInputInhibitorV1
§impl PartialEq<Weak<ZwlrLayerShellV1>> for ZwlrLayerShellV1
impl PartialEq<Weak<ZwlrLayerShellV1>> for ZwlrLayerShellV1
§impl PartialEq<Weak<ZwlrLayerSurfaceV1>> for ZwlrLayerSurfaceV1
impl PartialEq<Weak<ZwlrLayerSurfaceV1>> for ZwlrLayerSurfaceV1
§impl PartialEq<Weak<ZwlrOutputConfigurationHeadV1>> for ZwlrOutputConfigurationHeadV1
impl PartialEq<Weak<ZwlrOutputConfigurationHeadV1>> for ZwlrOutputConfigurationHeadV1
§fn eq(&self, other: &Weak<ZwlrOutputConfigurationHeadV1>) -> bool
fn eq(&self, other: &Weak<ZwlrOutputConfigurationHeadV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwlrOutputHeadV1>> for ZwlrOutputHeadV1
impl PartialEq<Weak<ZwlrOutputHeadV1>> for ZwlrOutputHeadV1
§impl PartialEq<Weak<ZwlrOutputManagerV1>> for ZwlrOutputManagerV1
impl PartialEq<Weak<ZwlrOutputManagerV1>> for ZwlrOutputManagerV1
§impl PartialEq<Weak<ZwlrOutputModeV1>> for ZwlrOutputModeV1
impl PartialEq<Weak<ZwlrOutputModeV1>> for ZwlrOutputModeV1
§impl PartialEq<Weak<ZwlrOutputPowerV1>> for ZwlrOutputPowerV1
impl PartialEq<Weak<ZwlrOutputPowerV1>> for ZwlrOutputPowerV1
§impl PartialEq<Weak<ZwlrScreencopyFrameV1>> for ZwlrScreencopyFrameV1
impl PartialEq<Weak<ZwlrScreencopyFrameV1>> for ZwlrScreencopyFrameV1
§impl PartialEq<Weak<ZwlrVirtualPointerV1>> for ZwlrVirtualPointerV1
impl PartialEq<Weak<ZwlrVirtualPointerV1>> for ZwlrVirtualPointerV1
§impl PartialEq<Weak<ZwpConfinedPointerV1>> for ZwpConfinedPointerV1
impl PartialEq<Weak<ZwpConfinedPointerV1>> for ZwpConfinedPointerV1
§impl PartialEq<Weak<ZwpFullscreenShellModeFeedbackV1>> for ZwpFullscreenShellModeFeedbackV1
impl PartialEq<Weak<ZwpFullscreenShellModeFeedbackV1>> for ZwpFullscreenShellModeFeedbackV1
§fn eq(&self, other: &Weak<ZwpFullscreenShellModeFeedbackV1>) -> bool
fn eq(&self, other: &Weak<ZwpFullscreenShellModeFeedbackV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwpFullscreenShellV1>> for ZwpFullscreenShellV1
impl PartialEq<Weak<ZwpFullscreenShellV1>> for ZwpFullscreenShellV1
§impl PartialEq<Weak<ZwpIdleInhibitorV1>> for ZwpIdleInhibitorV1
impl PartialEq<Weak<ZwpIdleInhibitorV1>> for ZwpIdleInhibitorV1
§impl PartialEq<Weak<ZwpInputMethodKeyboardGrabV2>> for ZwpInputMethodKeyboardGrabV2
impl PartialEq<Weak<ZwpInputMethodKeyboardGrabV2>> for ZwpInputMethodKeyboardGrabV2
§fn eq(&self, other: &Weak<ZwpInputMethodKeyboardGrabV2>) -> bool
fn eq(&self, other: &Weak<ZwpInputMethodKeyboardGrabV2>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwpInputMethodV1>> for ZwpInputMethodV1
impl PartialEq<Weak<ZwpInputMethodV1>> for ZwpInputMethodV1
§impl PartialEq<Weak<ZwpInputMethodV2>> for ZwpInputMethodV2
impl PartialEq<Weak<ZwpInputMethodV2>> for ZwpInputMethodV2
§impl PartialEq<Weak<ZwpInputPanelV1>> for ZwpInputPanelV1
impl PartialEq<Weak<ZwpInputPanelV1>> for ZwpInputPanelV1
§impl PartialEq<Weak<ZwpInputTimestampsV1>> for ZwpInputTimestampsV1
impl PartialEq<Weak<ZwpInputTimestampsV1>> for ZwpInputTimestampsV1
§impl PartialEq<Weak<ZwpKeyboardShortcutsInhibitManagerV1>> for ZwpKeyboardShortcutsInhibitManagerV1
impl PartialEq<Weak<ZwpKeyboardShortcutsInhibitManagerV1>> for ZwpKeyboardShortcutsInhibitManagerV1
§fn eq(&self, other: &Weak<ZwpKeyboardShortcutsInhibitManagerV1>) -> bool
fn eq(&self, other: &Weak<ZwpKeyboardShortcutsInhibitManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwpKeyboardShortcutsInhibitorV1>> for ZwpKeyboardShortcutsInhibitorV1
impl PartialEq<Weak<ZwpKeyboardShortcutsInhibitorV1>> for ZwpKeyboardShortcutsInhibitorV1
§fn eq(&self, other: &Weak<ZwpKeyboardShortcutsInhibitorV1>) -> bool
fn eq(&self, other: &Weak<ZwpKeyboardShortcutsInhibitorV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
impl PartialEq<Weak<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
§impl PartialEq<Weak<ZwpLinuxExplicitSynchronizationV1>> for ZwpLinuxExplicitSynchronizationV1
impl PartialEq<Weak<ZwpLinuxExplicitSynchronizationV1>> for ZwpLinuxExplicitSynchronizationV1
§fn eq(&self, other: &Weak<ZwpLinuxExplicitSynchronizationV1>) -> bool
fn eq(&self, other: &Weak<ZwpLinuxExplicitSynchronizationV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwpLinuxSurfaceSynchronizationV1>> for ZwpLinuxSurfaceSynchronizationV1
impl PartialEq<Weak<ZwpLinuxSurfaceSynchronizationV1>> for ZwpLinuxSurfaceSynchronizationV1
§fn eq(&self, other: &Weak<ZwpLinuxSurfaceSynchronizationV1>) -> bool
fn eq(&self, other: &Weak<ZwpLinuxSurfaceSynchronizationV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwpLockedPointerV1>> for ZwpLockedPointerV1
impl PartialEq<Weak<ZwpLockedPointerV1>> for ZwpLockedPointerV1
§impl PartialEq<Weak<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
impl PartialEq<Weak<ZwpPointerGesturesV1>> for ZwpPointerGesturesV1
§impl PartialEq<Weak<ZwpPrimarySelectionDeviceManagerV1>> for ZwpPrimarySelectionDeviceManagerV1
impl PartialEq<Weak<ZwpPrimarySelectionDeviceManagerV1>> for ZwpPrimarySelectionDeviceManagerV1
§fn eq(&self, other: &Weak<ZwpPrimarySelectionDeviceManagerV1>) -> bool
fn eq(&self, other: &Weak<ZwpPrimarySelectionDeviceManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZwpRelativePointerV1>> for ZwpRelativePointerV1
impl PartialEq<Weak<ZwpRelativePointerV1>> for ZwpRelativePointerV1
§impl PartialEq<Weak<ZwpTabletManagerV1>> for ZwpTabletManagerV1
impl PartialEq<Weak<ZwpTabletManagerV1>> for ZwpTabletManagerV1
§impl PartialEq<Weak<ZwpTabletManagerV2>> for ZwpTabletManagerV2
impl PartialEq<Weak<ZwpTabletManagerV2>> for ZwpTabletManagerV2
§impl PartialEq<Weak<ZwpTabletPadDialV2>> for ZwpTabletPadDialV2
impl PartialEq<Weak<ZwpTabletPadDialV2>> for ZwpTabletPadDialV2
§impl PartialEq<Weak<ZwpTabletPadGroupV2>> for ZwpTabletPadGroupV2
impl PartialEq<Weak<ZwpTabletPadGroupV2>> for ZwpTabletPadGroupV2
§impl PartialEq<Weak<ZwpTabletPadRingV2>> for ZwpTabletPadRingV2
impl PartialEq<Weak<ZwpTabletPadRingV2>> for ZwpTabletPadRingV2
§impl PartialEq<Weak<ZwpTabletPadStripV2>> for ZwpTabletPadStripV2
impl PartialEq<Weak<ZwpTabletPadStripV2>> for ZwpTabletPadStripV2
§impl PartialEq<Weak<ZwpTabletPadV2>> for ZwpTabletPadV2
impl PartialEq<Weak<ZwpTabletPadV2>> for ZwpTabletPadV2
§impl PartialEq<Weak<ZwpTabletSeatV1>> for ZwpTabletSeatV1
impl PartialEq<Weak<ZwpTabletSeatV1>> for ZwpTabletSeatV1
§impl PartialEq<Weak<ZwpTabletSeatV2>> for ZwpTabletSeatV2
impl PartialEq<Weak<ZwpTabletSeatV2>> for ZwpTabletSeatV2
§impl PartialEq<Weak<ZwpTabletToolV1>> for ZwpTabletToolV1
impl PartialEq<Weak<ZwpTabletToolV1>> for ZwpTabletToolV1
§impl PartialEq<Weak<ZwpTabletToolV2>> for ZwpTabletToolV2
impl PartialEq<Weak<ZwpTabletToolV2>> for ZwpTabletToolV2
§impl PartialEq<Weak<ZwpTabletV1>> for ZwpTabletV1
impl PartialEq<Weak<ZwpTabletV1>> for ZwpTabletV1
§impl PartialEq<Weak<ZwpTabletV2>> for ZwpTabletV2
impl PartialEq<Weak<ZwpTabletV2>> for ZwpTabletV2
§impl PartialEq<Weak<ZwpTextInputManagerV1>> for ZwpTextInputManagerV1
impl PartialEq<Weak<ZwpTextInputManagerV1>> for ZwpTextInputManagerV1
§impl PartialEq<Weak<ZwpTextInputManagerV3>> for ZwpTextInputManagerV3
impl PartialEq<Weak<ZwpTextInputManagerV3>> for ZwpTextInputManagerV3
§impl PartialEq<Weak<ZwpTextInputV1>> for ZwpTextInputV1
impl PartialEq<Weak<ZwpTextInputV1>> for ZwpTextInputV1
§impl PartialEq<Weak<ZwpTextInputV3>> for ZwpTextInputV3
impl PartialEq<Weak<ZwpTextInputV3>> for ZwpTextInputV3
§impl PartialEq<Weak<ZwpVirtualKeyboardV1>> for ZwpVirtualKeyboardV1
impl PartialEq<Weak<ZwpVirtualKeyboardV1>> for ZwpVirtualKeyboardV1
§impl PartialEq<Weak<ZwpXwaylandKeyboardGrabManagerV1>> for ZwpXwaylandKeyboardGrabManagerV1
impl PartialEq<Weak<ZwpXwaylandKeyboardGrabManagerV1>> for ZwpXwaylandKeyboardGrabManagerV1
§fn eq(&self, other: &Weak<ZwpXwaylandKeyboardGrabManagerV1>) -> bool
fn eq(&self, other: &Weak<ZwpXwaylandKeyboardGrabManagerV1>) -> bool
Tests for
self and other values to be equal, and is used by ==.§impl PartialEq<Weak<ZxdgExportedV1>> for ZxdgExportedV1
impl PartialEq<Weak<ZxdgExportedV1>> for ZxdgExportedV1
§impl PartialEq<Weak<ZxdgExportedV2>> for ZxdgExportedV2
impl PartialEq<Weak<ZxdgExportedV2>> for ZxdgExportedV2
§impl PartialEq<Weak<ZxdgExporterV1>> for ZxdgExporterV1
impl PartialEq<Weak<ZxdgExporterV1>> for ZxdgExporterV1
§impl PartialEq<Weak<ZxdgExporterV2>> for ZxdgExporterV2
impl PartialEq<Weak<ZxdgExporterV2>> for ZxdgExporterV2
§impl PartialEq<Weak<ZxdgImportedV1>> for ZxdgImportedV1
impl PartialEq<Weak<ZxdgImportedV1>> for ZxdgImportedV1
§impl PartialEq<Weak<ZxdgImportedV2>> for ZxdgImportedV2
impl PartialEq<Weak<ZxdgImportedV2>> for ZxdgImportedV2
§impl PartialEq<Weak<ZxdgImporterV1>> for ZxdgImporterV1
impl PartialEq<Weak<ZxdgImporterV1>> for ZxdgImporterV1
§impl PartialEq<Weak<ZxdgImporterV2>> for ZxdgImporterV2
impl PartialEq<Weak<ZxdgImporterV2>> for ZxdgImporterV2
§impl PartialEq<Weak<ZxdgOutputManagerV1>> for ZxdgOutputManagerV1
impl PartialEq<Weak<ZxdgOutputManagerV1>> for ZxdgOutputManagerV1
§impl PartialEq<Weak<ZxdgOutputV1>> for ZxdgOutputV1
impl PartialEq<Weak<ZxdgOutputV1>> for ZxdgOutputV1
impl<I> Eq for Weak<I>
Auto Trait Implementations§
impl<I> Freeze for Weak<I>
impl<I> RefUnwindSafe for Weak<I>where
I: RefUnwindSafe,
impl<I> Send for Weak<I>where
I: Send,
impl<I> Sync for Weak<I>where
I: Sync,
impl<I> Unpin for Weak<I>where
I: Unpin,
impl<I> UnwindSafe for Weak<I>where
I: UnwindSafe,
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
D: AdaptFrom<S, Swp, Dwp, T>,
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<T>,
Convert the source color to the destination color using the specified
method.
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default.
§impl<T> AnyEq for T
impl<T> AnyEq for T
§impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
Source§impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
impl<T, C> ArraysFrom<C> for Twhere
C: IntoArrays<T>,
Source§fn arrays_from(colors: C) -> T
fn arrays_from(colors: C) -> T
Cast a collection of colors into a collection of arrays.
Source§impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
impl<T, C> ArraysInto<C> for Twhere
C: FromArrays<T>,
Source§fn arrays_into(self) -> C
fn arrays_into(self) -> C
Cast this collection of arrays into a collection of colors.
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
Source§impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
impl<WpParam, T, U> Cam16IntoUnclamped<WpParam, T> for Uwhere
T: FromCam16Unclamped<WpParam, U>,
Source§type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
type Scalar = <T as FromCam16Unclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters when converting.Source§fn cam16_into_unclamped(
self,
parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>,
) -> T
fn cam16_into_unclamped( self, parameters: BakedParameters<WpParam, <U as Cam16IntoUnclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self into C, using the provided parameters.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
impl<T, C> ComponentsFrom<C> for Twhere
C: IntoComponents<T>,
Source§fn components_from(colors: C) -> T
fn components_from(colors: C) -> T
Cast a collection of colors into a collection of color components.
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> FromAngle<T> for T
impl<T> FromAngle<T> for T
Source§fn from_angle(angle: T) -> T
fn from_angle(angle: T) -> T
Performs a conversion from
angle.Source§impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
impl<T, U> FromStimulus<U> for Twhere
U: IntoStimulus<T>,
Source§fn from_stimulus(other: U) -> T
fn from_stimulus(other: U) -> T
Converts
other into Self, while performing the appropriate scaling,
rounding and clamping.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
impl<T, U> IntoAngle<U> for Twhere
U: FromAngle<T>,
Source§fn into_angle(self) -> U
fn into_angle(self) -> U
Performs a conversion into
T.§impl<State, Message> IntoBoot<State, Message> for State
impl<State, Message> IntoBoot<State, Message> for State
§fn into_boot(self) -> (State, Task<Message>)
fn into_boot(self) -> (State, Task<Message>)
Turns some type into the initial state of some
Application.Source§impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
impl<WpParam, T, U> IntoCam16Unclamped<WpParam, T> for Uwhere
T: Cam16FromUnclamped<WpParam, U>,
Source§type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
type Scalar = <T as Cam16FromUnclamped<WpParam, U>>::Scalar
The number type that’s used in
parameters when converting.Source§fn into_cam16_unclamped(
self,
parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>,
) -> T
fn into_cam16_unclamped( self, parameters: BakedParameters<WpParam, <U as IntoCam16Unclamped<WpParam, T>>::Scalar>, ) -> T
Converts
self into C, using the provided parameters.Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
Source§impl<T> IntoStimulus<T> for T
impl<T> IntoStimulus<T> for T
Source§fn into_stimulus(self) -> T
fn into_stimulus(self) -> T
Converts
self into T, while performing the appropriate scaling,
rounding and clamping.Source§impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
impl<T, C> TryComponentsInto<C> for Twhere
C: TryFromComponents<T>,
Source§type Error = <C as TryFromComponents<T>>::Error
type Error = <C as TryFromComponents<T>>::Error
The error for when
try_into_colors fails to cast.Source§fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
fn try_components_into(self) -> Result<C, <T as TryComponentsInto<C>>::Error>
Try to cast this collection of color components into a collection of
colors. Read more
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined
range, otherwise an
OutOfBounds error is returned which contains
the unclamped color. Read moreSource§impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
impl<C, U> UintsFrom<C> for Uwhere
C: IntoUints<U>,
Source§fn uints_from(colors: C) -> U
fn uints_from(colors: C) -> U
Cast a collection of colors into a collection of unsigned integers.
Source§impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
impl<C, U> UintsInto<C> for Uwhere
C: FromUints<U>,
Source§fn uints_into(self) -> C
fn uints_into(self) -> C
Cast this collection of unsigned integers into a collection of colors.