pub unsafe trait ClObject:
Sized
+ Clone
+ Copy
+ Debug
+ CheckValidClObject
+ PartialEq {
// Required method
fn type_name(&self) -> &'static str;
// Provided method
fn address(&self) -> String { ... }
}
Required Methods§
Provided Methods§
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.