Skip to main content

Lookup

Trait Lookup 

Source
pub trait Lookup {
    type Data;

    // Required method
    fn lookup<'db>(&self, db: &'db dyn SourceDatabase) -> &'db Self::Data;
}

Required Associated Types§

Required Methods§

Source

fn lookup<'db>(&self, db: &'db dyn SourceDatabase) -> &'db Self::Data

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§