pub trait ListPropertyInit {
    type UpdateContext;

    // Required method
    fn init_list(dest: &mut Self, count: usize, ctx: &mut Self::UpdateContext)
       where Self: Sized;
}
Expand description

The list property initializer.

Required Associated Types§

source

type UpdateContext

Must be bool if used in components and updated through templates.

Required Methods§

source

fn init_list(dest: &mut Self, count: usize, ctx: &mut Self::UpdateContext)where Self: Sized,

Initialize with item count provided.

Will be called once before any list value set.

Implementors§