luaur_common/records/optional_tail_scope.rs
1use crate::records::thread_context::ThreadContext;
2
3#[allow(non_snake_case)]
4#[derive(Debug)]
5pub struct OptionalTailScope {
6 pub(crate) context: *mut ThreadContext,
7 pub(crate) token: u16,
8 pub(crate) threshold: u32,
9 pub(crate) microsec: u32,
10 pub(crate) pos: u32,
11}
12
13impl Drop for OptionalTailScope {
14 fn drop(&mut self) {
15 // The implementation of the destructor is a separate item.
16 // This file only defines the record structure.
17 }
18}