Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rental! {
- mod rentals {
- use super::*;
- #[rental_mut]
- pub struct FrankRental {
- instance: Box<Instance>,
- allocate: Func<'instance, (i32), i32>,
- deallocate: Func<'instance, (i32, i32), ()>,
- invoke: Func<'instance, (i32, i32), i32>,
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement