pub type MutableHandleId = MutableHandle<PropertyKey>;
Expand description
Similar to a handle, but the underlying storage can be changed. This is useful for outparams.
If you want to add additional methods to MutableHandle for a specific
specialization, define a MutableHandleOperations
Aliased Type§
struct MutableHandleId {
pub _phantom_0: PhantomData<UnsafeCell<PropertyKey>>,
pub ptr: *mut PropertyKey,
}
Fields§
§_phantom_0: PhantomData<UnsafeCell<PropertyKey>>
§ptr: *mut PropertyKey
Implementations
Trait Implementations
source§impl<T: Clone> Clone for MutableHandle<T>
impl<T: Clone> Clone for MutableHandle<T>
source§fn clone(&self) -> MutableHandle<T>
fn clone(&self) -> MutableHandle<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more