pub struct StylusReport<T0, T1, T2, T3, T4, T5, T6> {
pub x: T0,
pub y: T1,
pub pressure: T2,
pub is_in_contact: T3,
pub in_range: T4,
pub is_inverted: T5,
pub pressed_buttons: T6,
}Expand description
The generic type corresponding to StylusReport.
Fields§
§x: T0§y: T1§pressure: T2§is_in_contact: T3§in_range: T4§is_inverted: T5Trait Implementations§
Source§impl<___E, T0, T1, T2, T3, T4, T5, T6> Encode<StylusReport, ___E> for StylusReport<T0, T1, T2, T3, T4, T5, T6>
impl<___E, T0, T1, T2, T3, T4, T5, T6> Encode<StylusReport, ___E> for StylusReport<T0, T1, T2, T3, T4, T5, T6>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<StylusReport>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<StylusReport>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4, T5, T6> Freeze for StylusReport<T0, T1, T2, T3, T4, T5, T6>
impl<T0, T1, T2, T3, T4, T5, T6> RefUnwindSafe for StylusReport<T0, T1, T2, T3, T4, T5, T6>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
T6: RefUnwindSafe,
impl<T0, T1, T2, T3, T4, T5, T6> Send for StylusReport<T0, T1, T2, T3, T4, T5, T6>
impl<T0, T1, T2, T3, T4, T5, T6> Sync for StylusReport<T0, T1, T2, T3, T4, T5, T6>
impl<T0, T1, T2, T3, T4, T5, T6> Unpin for StylusReport<T0, T1, T2, T3, T4, T5, T6>
impl<T0, T1, T2, T3, T4, T5, T6> UnsafeUnpin for StylusReport<T0, T1, T2, T3, T4, T5, T6>where
T0: UnsafeUnpin,
T1: UnsafeUnpin,
T2: UnsafeUnpin,
T3: UnsafeUnpin,
T4: UnsafeUnpin,
T5: UnsafeUnpin,
T6: UnsafeUnpin,
impl<T0, T1, T2, T3, T4, T5, T6> UnwindSafe for StylusReport<T0, T1, T2, T3, T4, T5, T6>where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
T6: UnwindSafe,
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> 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]