logoalt Hacker News

mgaunardlast Thursday at 10:21 AM0 repliesview on HN

It's defined by whatever you put in your const overloads.

const is primarily a type annotation that affects overload resolution.

You must be confused because Rust has no overloading to begin with.