Clone trait was implemented for Page and Document structs in src/page.rs and src/document.rs using fz_keep_page and fz_keep_document methods which increment's MuPDF's internal reference count for the target structures.
Otherwise no major changes were made. All tests are passing.
Clone trait was implemented for Page and Document structs in
src/page.rs
andsrc/document.rs
usingfz_keep_page
andfz_keep_document
methods which increment's MuPDF's internal reference count for the target structures.Otherwise no major changes were made. All tests are passing.
Have a great day!