Editor Plugins
English
Appearance
struct CallerLocation
Represents a location in the call stack.
file: string
The file name of the location.
line: int
The line number of the location, starting from 1.
pub fn to_string(self): string
pub fn to_string(self): string { return `${self.file}:${self.line}`;}