Struct mterm::TickInput [−][src]
pub struct TickInput { pub dt: Duration, pub width: u32, pub height: u32, pub key: KeyState, pub mouse: Option<MouseState>, }
Expand description
Contains information for the tick method in App
.
Fields
dt: Duration
This is the delta time since last time tick
was called.
width: u32
Current width of the window in characters.
height: u32
Current height of the window in characters.
key: KeyState
May contain information on a key pressed or released, along with shift modifiers.
mouse: Option<MouseState>
May contain information on a mouse event such as a click or mouse movement.
Auto Trait Implementations
impl RefUnwindSafe for TickInput
impl UnwindSafe for TickInput