Trait rustc_data_structures::owning_ref::ToHandleMut[][src]

pub trait ToHandleMut {
    type HandleMut: DerefMut;
    unsafe fn to_handle_mut(x: *const Self) -> Self::HandleMut;
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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

Associated Types

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

The type of handle to be encapsulated by the OwningHandle.

Required Methods

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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

Implementations on Foreign Types

impl<T: 'static> ToHandleMut for RefCell<T>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Implementors