rstd 0.1.0
Loading...
Searching...
No Matches
rstd::panic_::Location Struct Referenceexport
module rstd.basic

A cross-ABI-safe source location, analogous to Rust's core::panic::Location. More...

Public Member Functions

constexpr auto file_name () const noexcept -> const char *
 Returns the file name where this location was captured.
 
constexpr auto line () const noexcept -> u32
 Returns the line number.
 
constexpr auto column () const noexcept -> u32
 Returns the column number.
 

Static Public Member Functions

static constexpr auto from (sl_type sl) noexcept -> Location
 Creates a Location from a source_location.
 

Detailed Description

A cross-ABI-safe source location, analogous to Rust's core::panic::Location.


The documentation for this struct was generated from the following file: