pub struct ModelerInput {
    pub event_type: ModelerInputEventType,
    pub pos: (f64, f64),
    pub time: f64,
    pub pressure: f64,
}Expand description
struct holding all information for input event
Fields§
§event_type: ModelerInputEventType§pos: (f64, f64)§time: f64§pressure: f64Trait Implementations§
Source§impl Clone for ModelerInput
 
impl Clone for ModelerInput
Source§fn clone(&self) -> ModelerInput
 
fn clone(&self) -> ModelerInput
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 ModelerInput
 
impl Debug for ModelerInput
Source§impl Default for ModelerInput
 
impl Default for ModelerInput
Source§impl PartialEq for ModelerInput
 
impl PartialEq for ModelerInput
impl StructuralPartialEq for ModelerInput
Auto Trait Implementations§
impl Freeze for ModelerInput
impl RefUnwindSafe for ModelerInput
impl Send for ModelerInput
impl Sync for ModelerInput
impl Unpin for ModelerInput
impl UnwindSafe for ModelerInput
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