Trait muse_lang::runtime::value::CustomType

source ·
pub trait CustomType:
    Send
    + Sync
    + Debug
    + 'static {
    // Required method
    fn muse_type(&self) -> &TypeRef;
}
Expand description

A mapping from a Rust type to its Muse Type.

Required Methods§

source

fn muse_type(&self) -> &TypeRef

Returns the Muse type for this Rust type.

Implementors§