pub struct EmittedDebugStatement {
pub filename: String,
pub line: u32,
pub column: u32,
pub msg: String,
pub remaining_energy: InterpreterEnergy,
}Expand description
An event emitted by the debug_print host function in debug mode.
Fields§
§filename: StringFile in which the debug macro was used.
line: u32The line inside the file.
column: u32An the column.
msg: StringThe message that was emitted.
remaining_energy: InterpreterEnergyRemaining interpreter energy energy left for execution.
Trait Implementations§
Source§impl Debug for EmittedDebugStatement
impl Debug for EmittedDebugStatement
Auto Trait Implementations§
impl Freeze for EmittedDebugStatement
impl RefUnwindSafe for EmittedDebugStatement
impl Send for EmittedDebugStatement
impl Sync for EmittedDebugStatement
impl Unpin for EmittedDebugStatement
impl UnwindSafe for EmittedDebugStatement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more