OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::KeyChordHash Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/KeyChord.hpp>

Public Member Functions

size_t operator() (const KeyChord &chord) const

Detailed Description

Member Function Documentation

◆ operator()()

size_t Slic3r::GUI::KeyChordHash::operator() ( const KeyChord & chord) const
inline
68{ return std::hash<long long>()((static_cast<long long>(chord.modifiers) << 32) | unsigned(chord.key)); }

References Slic3r::GUI::KeyChord::key, and Slic3r::GUI::KeyChord::modifiers.


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/KeyChord.hpp