pub struct ResourceType { /* private fields */ }Expand description
A handle to a registered resource type.
An opaque value returned by open_resource_type,
open_resource_type_x, or init_resource_type
and passed to alloc_resource and
get_resource. Always handled as *mut ResourceType.
ErlNifResourceType — NIF 1.0 — OTP R13B04
Auto Trait Implementations§
impl !Send for ResourceType
impl !Sync for ResourceType
impl !Unpin for ResourceType
impl Freeze for ResourceType
impl RefUnwindSafe for ResourceType
impl UnsafeUnpin for ResourceType
impl UnwindSafe for ResourceType
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