ChildProxyImpl

Trait ChildProxyImpl 

Source
pub trait ChildProxyImpl:
    AnyImpl
    + Send
    + Sync
    + 'static {
    // Required methods
    fn get_child_by_index(
        &self,
        object: &ChildProxy,
        index: u32,
    ) -> Option<Object>;
    fn get_children_count(&self, object: &ChildProxy) -> u32;
    fn child_added(&self, object: &ChildProxy, child: &Object, name: &str);
    fn child_removed(&self, object: &ChildProxy, child: &Object, name: &str);

    // Provided method
    fn get_child_by_name(
        &self,
        object: &ChildProxy,
        name: &str,
    ) -> Option<Object> { ... }
}

Required Methods§

Source

fn get_child_by_index(&self, object: &ChildProxy, index: u32) -> Option<Object>

Source

fn get_children_count(&self, object: &ChildProxy) -> u32

Source

fn child_added(&self, object: &ChildProxy, child: &Object, name: &str)

Source

fn child_removed(&self, object: &ChildProxy, child: &Object, name: &str)

Provided Methods§

Source

fn get_child_by_name(&self, object: &ChildProxy, name: &str) -> Option<Object>

Implementations§

Implementors§