Function once [src]
Alias for std.once.once
Prototype
pub fn once(comptime f: fn () void) Once(f)
Parameters
f: fn () void
Source
pub fn once(comptime f: fn () void) Once(f) {
return Once(f){};
}
Alias for std.once.once
pub fn once(comptime f: fn () void) Once(f)
f: fn () void
pub fn once(comptime f: fn () void) Once(f) {
return Once(f){};
}