Files
ts-qt/creeper-qt/utility/animation/state/accessor.hh
2025-11-25 15:59:47 +08:00

13 lines
341 B
C++

#pragma once
namespace creeper {
struct NormalAccessor {
auto get_value(this auto const& self) { return self.value; }
auto set_value(this auto& self, auto const& t) { self.value = t; }
auto get_target(this auto const& self) { return self.target; }
auto set_target(this auto& self, auto const& t) { self.target = t; }
};
}