pub fn has_child<W: Into<ControlHandle>>(&self, c: W) -> bool {
        let inner = self.inner.borrow();
        if inner.base.is_null() {
            panic!("DynLayout is not initialized");
        }

        let handle = c.into().hwnd().expect("Children is not a window-like control (HWND handle)");
        inner.children.iter().any(|c| c.control == handle )
    }
/**
        Check if a window control is a children of the layout

        Panic:
        - If the layout is not initialized
        - If the child is not a window-like control
    */
Check if a window control is a children of the layout
Panic:
If the layout is not initialized
If the child is not a window-like control
Check if a window control is a children of the layout Panic : If the layout is not initialized If the child is not a window - like control
pub fn has_child<W: Into<ControlHandle>>(&self, c: W) -> bool {
        let inner = self.inner.borrow();
        if inner.base.is_null() {
            panic!("DynLayout is not initialized");
        }
        let handle = c.into().hwnd().expect("Children is not a window-like control (HWND handle)");
        inner.children.iter().any(|c| c.control == handle )
    }
pub fn has_child < W : Into < ControlHandle > > ( & self , c : W ) -> bool { let inner = self . inner . borrow ( ) ; if inner . base . is_null ( ) { panic ! ( " " ) ; } let handle = c . into ( ) . hwnd ( ) . expect ( " " ) ; inner . children . iter ( ) . any ( | c | c . control == handle ) }
Check if a window control is a children of the layout
Panic:
 If the layout is not initialized
 If the child is not a window-like control
Check if a window control is a children of the layout Panic : If the layout is not initialized If the child is not a window - like control
&self
c
W