Struct flo_animation::RawPoint
[−]
[src]
pub struct RawPoint { pub position: (f32, f32), pub pressure: f32, pub tilt: (f32, f32), }
A raw point represents a point from an input device
Fields
position: (f32, f32)
Where the pointer was on the canvas
pressure: f32
The pressure used
tilt: (f32, f32)
The tilt of the device
Trait Implementations
impl Clone for RawPoint
[src]
fn clone(&self) -> RawPoint
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for RawPoint
[src]
impl PartialEq for RawPoint
[src]
fn eq(&self, __arg_0: &RawPoint) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RawPoint) -> bool
[src]
This method tests for !=
.
impl Debug for RawPoint
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more