Skip to content
Flecs v4.1
impl.hpp
Go to the documentation of this file.
1/**
2 * @file addons/cpp/mixins/rest/impl.hpp
3 * @brief Rest module implementation.
4 */
5
6#pragma once
7
8namespace flecs {
9namespace rest {
10namespace _ {
11
12inline void init(flecs::world& world) {
13 world.component<Rest>("flecs::rest::Rest");
14}
15
16} // namespace _
17} // namespace rest
18} // namespace flecs
EcsRest Rest
REST API component.
Definition decl.hpp:19
flecs::component< T > component(Args &&... args) const
Find or register a component.
Definition impl.hpp:11