zng_app::widget::node

Trait UiNodeListChain

Source
pub trait UiNodeListChain: UiNodeList {
    // Required method
    fn chain<B>(self, other: B) -> UiNodeListChainImpl
       where B: UiNodeList,
             Self: Sized;
}
Expand description

Adds the chain method for all UiNodeList implementors.

Required Methods§

Source

fn chain<B>(self, other: B) -> UiNodeListChainImpl
where B: UiNodeList, Self: Sized,

Creates a new UiNodeList that chains self and other.

Special features of each inner list type is preserved.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§