Trait AddToTypeDatabase

Source
pub trait AddToTypeDatabase {
    // Required method
    fn add_to_database(database: &mut TypeDatabase) -> Result<usize>;
}

Required 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.

Implementations on Foreign Types§

Source§

impl AddToTypeDatabase for i8

Source§

impl AddToTypeDatabase for i16

Source§

impl AddToTypeDatabase for i32

Source§

impl AddToTypeDatabase for i64

Source§

impl AddToTypeDatabase for u8

Source§

impl AddToTypeDatabase for u16

Source§

impl AddToTypeDatabase for u32

Source§

impl AddToTypeDatabase for u64

Source§

impl<T: AddToTypeDatabase, const N: usize> AddToTypeDatabase for [T; N]

Implementors§