TypedDataDocumentation

Trait TypedDataDocumentation 

Source
pub trait TypedDataDocumentation<T: TypedUserData> {
    // Required method
    fn add(&mut self, doc: &str) -> &mut Self;
}
Expand description

Used inside of TypedUserData to add doc comments to the userdata type itself

Required Methods§

Source

fn add(&mut self, doc: &str) -> &mut Self

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.

Implementors§