You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: container.rs
    path of file: ./repos/ruffle/core/src/display_object
    
    the code of the file until where you have to start completion: //! Container mix-in for display objects

use crate::avm1::{Activation, ActivationIdentifier, TObject};
use crate::avm2::{
    Activation as Avm2Activation, Avm2, EventObject as Avm2EventObject, Multiname as Avm2Multiname,
    TObject as _, Value as Avm2Value,
};
use crate::conte
    
    fn remove_child_from_depth_list(&mut self, child: DisplayObject<'gc>) -> bool {
        if let Some(other_child) = self.depth_list.get(&child.depth()) {
            DisplayObject::ptr_eq(*other_child, child)
                && self.depth_list.remove(&child.depth()).is_some()
        } else {
            false
        }
    }