Struct rgbds_obj::Assertion [−][src]
pub struct Assertion { /* fields omitted */ }
A link-time assertion.
Functions mostly like a Patch
.
Implementations
impl Assertion
[src]
impl Assertion
[src]pub fn source(&self) -> (u32, u32)
[src]
pub fn source(&self) -> (u32, u32)
[src]Where the assertion was defined. That is, the file stack node ID, and the line number.
pub fn err_type(&self) -> AssertionType
[src]
pub fn err_type(&self) -> AssertionType
[src]The assertion’s error type (warning, error, fatal).
pub fn pc_section_id(&self) -> u32
[src]
pub fn pc_section_id(&self) -> u32
[src]The ID of the expression’s PC section. See pc_offset
for more info.