pub trait Scopable: Rootable + Bindable{
// Provided method
fn scope<'scope>(
self,
agent: &mut Agent,
gc: NoGcScope<'_, 'scope>,
) -> Scoped<'scope, Self::Of<'static>> { ... }
}Expand description
Trait for rooting handles for the duration of the 'scope lifetime.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".