cairo_lang_utils

Trait LookupIntern

source
pub trait LookupIntern<'a, DynDbGroup: ?Sized, LongId> {
    // Required method
    fn lookup_intern(&self, db: &(impl Upcast<DynDbGroup> + ?Sized)) -> LongId;
}
Expand description

A trait for the lookup_intern method for short IDs (returning the long ID).

Required Methods§

source

fn lookup_intern(&self, db: &(impl Upcast<DynDbGroup> + ?Sized)) -> LongId

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§