You can export a function marked as inline from a module, and the compiler is going to make both the function declaration and its implementation available to those who import the module. The compiler can then choose to inline the function, much as it would if you had loaded the function via an #include statement instead of an import statement.