/// Adds a child to the front of the execution list.
///
/// This does not affect the render or depth lists.
Adds a child to the front of the execution list.
This does not affect the render or depth lists.
Adds a child to the front of the execution list . This does not affect the render or depth lists .
pub fn add_child_to_exec_list(
        &mut self,
        gc_context: MutationContext<'gc, '_>,
        child: DisplayObject<'gc>,
    ) {
        if let Some(head) = self.exec_list {
            head.set_prev_sibling(gc_context, Some(child));
            child.set_next_sibling(gc_context, Some(head));
        }
        self.exec_list = Some(child);
    }
pub fn add_child_to_exec_list ( & mut self , gc_context : MutationContext < ' gc , ' _ > , child : DisplayObject < ' gc > , ) { if let Some ( head ) = self . exec_list { head . set_prev_sibling ( gc_context , Some ( child ) ) ; child . set_next_sibling ( gc_context , Some ( head ) ) ; } self . exec_list = Some ( child ) ; }
Adds a child to the front of the execution list.
Adds a child to the front of the execution list .
&mut self
gc_context
MutationContext<'gc, '_>
child
DisplayObject<'gc>