Struct rustcn_ui::SerializedTouchData 
source · pub struct SerializedTouchData { /* private fields */ }Expand description
A serialized version of TouchData
Trait Implementations§
source§impl Clone for SerializedTouchData
 
impl Clone for SerializedTouchData
source§fn clone(&self) -> SerializedTouchData
 
fn clone(&self) -> SerializedTouchData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for SerializedTouchData
 
impl Debug for SerializedTouchData
source§impl<'de> Deserialize<'de> for SerializedTouchData
 
impl<'de> Deserialize<'de> for SerializedTouchData
source§fn deserialize<__D>(
    __deserializer: __D
) -> Result<SerializedTouchData, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<SerializedTouchData, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&TouchData> for SerializedTouchData
 
impl From<&TouchData> for SerializedTouchData
source§fn from(data: &TouchData) -> SerializedTouchData
 
fn from(data: &TouchData) -> SerializedTouchData
Converts to this type from the input type.
source§impl HasTouchData for SerializedTouchData
 
impl HasTouchData for SerializedTouchData
source§fn touches(&self) -> Vec<TouchPoint>
 
fn touches(&self) -> Vec<TouchPoint>
Get the touches that are currently down
source§fn touches_changed(&self) -> Vec<TouchPoint>
 
fn touches_changed(&self) -> Vec<TouchPoint>
Get the touches that have changed since the last event
source§fn target_touches(&self) -> Vec<TouchPoint>
 
fn target_touches(&self) -> Vec<TouchPoint>
Get the touches that started and stayed on the element that triggered this event
source§impl PartialEq for SerializedTouchData
 
impl PartialEq for SerializedTouchData
source§fn eq(&self, other: &SerializedTouchData) -> bool
 
fn eq(&self, other: &SerializedTouchData) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for SerializedTouchData
 
impl Serialize for SerializedTouchData
source§fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SerializedTouchData
Auto Trait Implementations§
impl RefUnwindSafe for SerializedTouchData
impl Send for SerializedTouchData
impl Sync for SerializedTouchData
impl Unpin for SerializedTouchData
impl UnwindSafe for SerializedTouchData
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> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
 
impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
source§fn super_from(input: T) -> O
 
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
 
impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
source§fn super_into(self) -> O
 
fn super_into(self) -> O
Convert from a type to another type.