#[repr(C)]pub struct TouchState {
pub delta_time_nano_seconds: i64,
pub attributes: TouchAttribute,
pub finger_id: i32,
pub x: i32,
pub y: i32,
pub diameter_x: i32,
pub diameter_y: i32,
pub rotation_angle: i32,
pub reserved: i32,
}Expand description
Fields§
§delta_time_nano_seconds: i64§attributes: TouchAttribute§finger_id: i32§x: i32§y: i32§diameter_x: i32§diameter_y: i32§rotation_angle: i32§reserved: i32Implementations§
Source§impl TouchState
impl TouchState
Sourcepub fn op_equality(
lhs: impl Into<TouchState>,
rhs: impl Into<TouchState>,
) -> bool
pub fn op_equality( lhs: impl Into<TouchState>, rhs: impl Into<TouchState>, ) -> bool
op_Equality(crate::nn::hid::touchstate::TouchState, crate::nn::hid::touchstate::TouchState) overload
Sourcepub fn op_inequality(
lhs: impl Into<TouchState>,
rhs: impl Into<TouchState>,
) -> bool
pub fn op_inequality( lhs: impl Into<TouchState>, rhs: impl Into<TouchState>, ) -> bool
op_Inequality(crate::nn::hid::touchstate::TouchState, crate::nn::hid::touchstate::TouchState) overload
Source§impl TouchState
impl TouchState
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Sourcepub fn equals(&mut self, right: impl Into<Object>) -> bool
pub fn equals(&mut self, right: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<TouchState>) -> bool
pub fn equals_2(&mut self, other: impl Into<TouchState>) -> bool
Equals(crate::nn::hid::touchstate::TouchState) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl TouchState
impl TouchState
pub fn to_string_method_info() -> &'static MethodInfo
pub fn op_equality_method_info() -> &'static MethodInfo
pub fn op_inequality_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for TouchState
impl ClassIdentity for TouchState
Source§impl Clone for TouchState
impl Clone for TouchState
Source§fn clone(&self) -> TouchState
fn clone(&self) -> TouchState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TouchState
Auto Trait Implementations§
impl Freeze for TouchState
impl RefUnwindSafe for TouchState
impl Send for TouchState
impl Sync for TouchState
impl Unpin for TouchState
impl UnwindSafe for TouchState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)