Module fmt/index
fmt/index
Formatted output to stdout and stderr.
Traits / Modules
ToString
trait
ToString
Methods
to_string : fn(self : *(Self)) -> StringImplementors
Functions
println
function
fn(forall(comptime(T) : Type), v : T) -> unit
Print a value that implements ToString to stdout, followed by a newline.
Type Parameters
| Name | Type | Notes |
|---|---|---|
T | Type | comptime |
Parameters
| Name | Type | Notes |
|---|---|---|
v | T |
Returns: unit
print
function
fn(forall(comptime(T) : Type), v : T) -> unit
Print a value that implements ToString to stdout, without a trailing newline.
Type Parameters
| Name | Type | Notes |
|---|---|---|
T | Type | comptime |
Parameters
| Name | Type | Notes |
|---|---|---|
v | T |
Returns: unit