#[repr(C)]pub struct SendPointerInputCmd {
pub compositor_id: Uint32,
pub pointer_event: PointerEvent,
}Expand description
The wire type corresponding to SendPointerInputCmd.
Fields§
§compositor_id: Uint32§pointer_event: PointerEventTrait Implementations§
Source§impl Clone for SendPointerInputCmd
impl Clone for SendPointerInputCmd
Source§fn clone(&self) -> SendPointerInputCmd
fn clone(&self) -> SendPointerInputCmd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Constrained for SendPointerInputCmd
impl Constrained for SendPointerInputCmd
Source§impl Debug for SendPointerInputCmd
impl Debug for SendPointerInputCmd
Source§impl<___D> Decode<___D> for SendPointerInputCmdwhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for SendPointerInputCmdwhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<___E> Encode<SendPointerInputCmd, ___E> for SendPointerInputCmdwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<SendPointerInputCmd, ___E> for SendPointerInputCmdwhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SendPointerInputCmd>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SendPointerInputCmd>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<SendPointerInputCmd, ___E> for &'a SendPointerInputCmdwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<SendPointerInputCmd, ___E> for &'a SendPointerInputCmdwhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SendPointerInputCmd>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SendPointerInputCmd>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E, T0, T1> Encode<SendPointerInputCmd, ___E> for SendPointerInputCmd<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint32, ___E>,
T1: Encode<PointerEvent, ___E>,
impl<___E, T0, T1> Encode<SendPointerInputCmd, ___E> for SendPointerInputCmd<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint32, ___E>,
T1: Encode<PointerEvent, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SendPointerInputCmd>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SendPointerInputCmd>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<SendPointerInputCmd> for SendPointerInputCmd
impl FromWire<SendPointerInputCmd> for SendPointerInputCmd
Source§fn from_wire(wire: SendPointerInputCmd) -> Self
fn from_wire(wire: SendPointerInputCmd) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<SendPointerInputCmd> for SendPointerInputCmd
impl FromWireRef<SendPointerInputCmd> for SendPointerInputCmd
Source§fn from_wire_ref(wire: &SendPointerInputCmd) -> Self
fn from_wire_ref(wire: &SendPointerInputCmd) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for SendPointerInputCmd
impl IntoNatural for SendPointerInputCmd
Source§type Natural = SendPointerInputCmd
type Natural = SendPointerInputCmd
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for SendPointerInputCmd
impl Wire for SendPointerInputCmd
Source§type Narrowed<'de> = SendPointerInputCmd
type Narrowed<'de> = SendPointerInputCmd
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for SendPointerInputCmd
impl RefUnwindSafe for SendPointerInputCmd
impl Send for SendPointerInputCmd
impl Sync for SendPointerInputCmd
impl Unpin for SendPointerInputCmd
impl UnsafeUnpin for SendPointerInputCmd
impl UnwindSafe for SendPointerInputCmd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]