pub struct LuaRefs {
pub next: i32,
pub free: Vec<i32>,
pub copies: Vec<(i32, i32)>,
}Expand description
The numbers LuaTeX gives the Lua values it keeps by reference (shown
as <lua data reference N>), modelled as observed: a new reference
takes the most recently released number, else the next one; freeing
or overwriting a node’s value releases its number, copying the node
takes a new one. Fonts made from Lua tables and luaotfload’s set-up
hold references too.
Fields§
§next: i32The next number never used (780 at the start of a plain run).
free: Vec<i32>The released numbers, the last released last.
copies: Vec<(i32, i32)>References made by copying nodes: (copy, original), for the Lua side to duplicate the value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LuaRefs
impl RefUnwindSafe for LuaRefs
impl Send for LuaRefs
impl Sync for LuaRefs
impl Unpin for LuaRefs
impl UnsafeUnpin for LuaRefs
impl UnwindSafe for LuaRefs
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