Struct rusty_spine::c_interface::CTmpRef
source · pub struct CTmpRef<'a, P, T> { /* private fields */ }
Expand description
A reference type to temporarily borrow two types at once, ensuring a parent’s lifetime remains valid throughout the lifetime of the child.
A lot of relationships are implicitly represented throughout the codebase, since their actual relationship exists within transpiled C code. This struct allows creating a temporary link the borrow checker can use to ensure correctness.