Trait PrefabData

Source
pub trait PrefabData: TypedResourceData + 'static {
    type Graph: SceneGraph;

    // Required methods
    fn graph(&self) -> &Self::Graph;
    fn mapping(&self) -> NodeMapping;
}

Required Associated Types§

Required Methods§

Source

fn graph(&self) -> &Self::Graph

Source

fn mapping(&self) -> NodeMapping

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§