Trait rustc_data_structures::owning_ref::Erased [−][src]
pub trait Erased { }
🔬 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?
Helper trait for an erased concrete type an owner dereferences to. This is used in form of a trait object for keeping something around to (virtually) call the destructor.
Trait Implementations
Implementors
impl<T> Erased for T