pub struct MultiplexedInputHandle {
pub elevation: usize,
}
Expand description
An input handle for input multiplexed over an input channel serving multiple devices.
Fields§
§elevation: usize
The elevation of this device on the input stack. The active device with the highest elevation will receive the input.
Each device must have a distinct elevation.
Trait Implementations§
Source§impl DefaultEncoding for MultiplexedInputHandle
impl DefaultEncoding for MultiplexedInputHandle
Source§impl ResourceId<KeyboardInputHandleKind> for MultiplexedInputHandle
impl ResourceId<KeyboardInputHandleKind> for MultiplexedInputHandle
Source§impl ResourceId<MouseInputHandleKind> for MultiplexedInputHandle
impl ResourceId<MouseInputHandleKind> for MultiplexedInputHandle
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for MultiplexedInputHandle
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for MultiplexedInputHandle
Source§impl StructEncodeMetadata<Resource> for MultiplexedInputHandle
impl StructEncodeMetadata<Resource> for MultiplexedInputHandle
Auto Trait Implementations§
impl Freeze for MultiplexedInputHandle
impl RefUnwindSafe for MultiplexedInputHandle
impl Send for MultiplexedInputHandle
impl Sync for MultiplexedInputHandle
impl Unpin for MultiplexedInputHandle
impl UnwindSafe for MultiplexedInputHandle
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T, K> IntoResource<K> for Twhere
T: 'static + ResourceId<K> + MeshPayload + Send,
K: ResourceKind,
impl<T, K> IntoResource<K> for Twhere
T: 'static + ResourceId<K> + MeshPayload + Send,
K: ResourceKind,
§fn into_resource(self) -> Resource<K>
fn into_resource(self) -> Resource<K>
Converts
self
into a Resource
.§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size
].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message
].