Trait owning_ref::ToHandleMut [] [src]

pub trait ToHandleMut {
    type HandleMut: DerefMut;
    unsafe fn to_handle_mut(x: *const Self) -> Self::HandleMut;
}

Trait to implement the conversion of owner to mutable handle for common types.

Associated Types

The type of handle to be encapsulated by the OwningHandle.

Required Methods

Given an appropriately-long-lived pointer to ourselves, create a mutable handle to be encapsulated by the OwningHandle.

Implementors