Struct
DebugTouch
pub struct DebugTouch(pub bool);Tuple Fields
0: boolTrait Implementations
impl AsScalar<1> for DebugTouch
impl AsScalar<1> for DebugTouch
fn as_scalar(&self) -> [u32; 1]
impl Clone for DebugTouch
impl Clone for DebugTouch
fn clone(&self) -> DebugTouch
fn clone(&self) -> DebugTouch
Returns a duplicate of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for DebugTouch
impl Debug for DebugTouch
impl<'de> Deserialize<'de> for DebugTouch
impl<'de> Deserialize<'de> for DebugTouch
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl From<DebugTouch> for bool
impl From<DebugTouch> for bool
fn from(value: DebugTouch) -> Self
fn from(value: DebugTouch) -> Self
Converts to this type from the input type.
impl From<bool> for DebugTouch
impl From<bool> for DebugTouch
fn from(value: bool) -> Self
fn from(value: bool) -> Self
Converts to this type from the input type.
impl FromScalar<1> for DebugTouch
impl FromScalar<1> for DebugTouch
fn from_scalar(value: [u32; 1]) -> Self
impl Hash for DebugTouch
impl Hash for DebugTouch
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
Feeds a slice of this type into the given [
Hasher]. Read moreimpl PartialEq for DebugTouch
impl PartialEq for DebugTouch
fn eq(&self, other: &DebugTouch) -> bool
fn eq(&self, other: &DebugTouch) -> bool
Tests for
self and other values to be equal, and is used by ==.1.0.0fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
Tests for
!=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.impl Serialize for DebugTouch
impl Serialize for DebugTouch
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more