Skip to main content

ParentComponent

Trait ParentComponent 

Source
pub trait ParentComponent {
    type Data;

    // Required method
    fn build(parent: Vec<usize>) -> Self::Data;
}

Required Associated Types§

Required Methods§

Source

fn build(parent: Vec<usize>) -> Self::Data

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§