Trait NativeScope
pub trait NativeScope {
// Required methods
fn constructor() -> Option<&'static NativeFuncData>;
fn scope() -> Scope;
}
Expand description
Defines the associated scope of a Rust type.
Required Methods§
fn constructor() -> Option<&'static NativeFuncData>
fn constructor() -> Option<&'static NativeFuncData>
The constructor function for the type, if any.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.