pub fn attach(&self, surface: ObjectRef<Surface>, client: &Client) {
        ftrace::duration!("wayland", "XdgToplevelView::attach");
        if let Ok(surface) = surface.get(client) {
            if let Some(node) = surface.node() {
                self.container_node.add_child(node);
            }
        }
    }
/// Attach the wl_surface to this view by inserting the surfaces node into
/// the view.
Attach the wl_surface to this view by inserting the surfaces node into
the view.
Attach the wl_surface to this view by inserting the surfaces node into the view .
pub fn attach(&self, surface: ObjectRef<Surface>, client: &Client) {
        ftrace::duration!("wayland", "XdgToplevelView::attach");
        if let Ok(surface) = surface.get(client) {
            if let Some(node) = surface.node() {
                self.container_node.add_child(node);
            }
        }
    }
pub fn attach ( & self , surface : ObjectRef < Surface > , client : & Client ) { ftrace :: duration ! ( " " " " ) ; if let Ok ( surface ) = surface . get ( client ) { if let Some ( node ) = surface . node ( ) { self . container_node . add_child ( node ) ; } } }
Attach the wl_surface to this view by inserting the surfaces node into
the view.
Attach the wl_surface to this view by inserting the surfaces node into the view .
&self
surface
ObjectRef<Surface>
client
&Client
&self
surface
ObjectRef<Surface>
client
&Client