Trait LookConstant

Source
pub trait LookConstant {
    type Item;

    // Required methods
    fn convert_and_check_item(reference: JsValue) -> Self::Item;
    fn look_code() -> Look;
}

Required Associated Types§

Required Methods§

Source

fn convert_and_check_item(reference: JsValue) -> Self::Item

Source

fn look_code() -> Look

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§