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: f64
Trait 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)