ttx 0.1.0
Loading...
Searching...
No Matches
ttx::KeyBind Struct Reference

#include </home/runner/work/ttx/ttx/src/key_bind.h>

Public Member Functions

constexpr auto is_default () const -> bool
 

Public Attributes

Key key { Key::None }
 
Modifiers modifiers { Modifiers::None }
 
InputMode mode { InputMode::Normal }
 
InputMode next_mode { InputMode::Insert }
 
Action action
 

Friends

constexpr friend auto tag_invoke (di::Tag< di::reflect >, di::InPlaceType< KeyBind >)
 

Member Function Documentation

◆ is_default()

auto ttx::KeyBind::is_default ( ) const -> bool
inlineconstexpr

Friends And Related Symbol Documentation

◆ tag_invoke

friend auto tag_invoke ( di::Tag< di::reflect > ,
di::InPlaceType< KeyBind >  )
friend

Member Data Documentation

◆ action

Action ttx::KeyBind::action

◆ key

Key ttx::KeyBind::key { Key::None }

◆ mode

InputMode ttx::KeyBind::mode { InputMode::Normal }

◆ modifiers

Modifiers ttx::KeyBind::modifiers { Modifiers::None }

◆ next_mode

InputMode ttx::KeyBind::next_mode { InputMode::Insert }

The documentation for this struct was generated from the following file: