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§