pub trait UserData: 'static {
// Provided methods
fn add_methods<M: UserDataMethods<Self>>(_methods: &mut M)
where Self: Sized { ... }
fn add_meta_methods<M: UserDataMethods<Self>>(_methods: &mut M)
where Self: Sized { ... }
}Provided Methods§
fn add_methods<M: UserDataMethods<Self>>(_methods: &mut M)where
Self: Sized,
fn add_meta_methods<M: UserDataMethods<Self>>(_methods: &mut M)where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".