pub struct MmIdx {
pub idx: *mut mm_idx_t,
}
Expand description
A wrapper around mm_idx_t
to ensure proper memory management.
If you use mm_idx_t directly, you must call mm_idx_destroy
manually.
Warning UB, there be dragons, etc…
Fields§
§idx: *mut mm_idx_t
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MmIdx
impl RefUnwindSafe for MmIdx
impl !Send for MmIdx
impl !Sync for MmIdx
impl Unpin for MmIdx
impl UnwindSafe for MmIdx
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