Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. rental! {
  2. mod rentals {
  3. use super::*;
  4.  
  5. #[rental_mut]
  6. pub struct FrankRental {
  7. instance: Box<Instance>,
  8. allocate: Func<'instance, (i32), i32>,
  9. deallocate: Func<'instance, (i32, i32), ()>,
  10. invoke: Func<'instance, (i32, i32), i32>,
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement