Skip to main content

IntoUiNode

Trait IntoUiNode 

Source
pub trait IntoUiNode {
    // Required method
    fn into_node(self) -> UiNode;
}
Expand description

Represents a value that can become a UiNode instance.

Required Methods§

Source

fn into_node(self) -> UiNode

Instantiate the UI node.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoUiNode for Box<[UiNode]>

Source§

impl IntoUiNode for Empty<UiNode>

Source§

impl IntoUiNode for Vec<UiNode>

Source§

impl<A, B> IntoUiNode for Chain<A, B>
where A: Iterator<Item = UiNode>, B: Iterator<Item = A::Item>,

Source§

impl<F> IntoUiNode for FromFn<F>
where F: FnMut() -> Option<UiNode>,

Source§

impl<F> IntoUiNode for Successors<UiNode, F>
where F: FnMut(&UiNode) -> Option<UiNode>,

Source§

impl<I, F> IntoUiNode for FilterMap<I, F>
where I: Iterator, F: FnMut(<I as Iterator>::Item) -> Option<UiNode>,

Source§

impl<I, F> IntoUiNode for Inspect<I, F>
where I: Iterator<Item = UiNode>, F: FnMut(&<I as Iterator>::Item),

Source§

impl<I, F> IntoUiNode for Map<I, F>
where I: Iterator, F: FnMut(I::Item) -> UiNode,

Source§

impl<I, P> IntoUiNode for Filter<I, P>
where I: Iterator<Item = UiNode>, P: FnMut(&<I as Iterator>::Item) -> bool,

Source§

impl<I, P> IntoUiNode for MapWhile<I, P>
where I: Iterator, P: FnMut(<I as Iterator>::Item) -> Option<UiNode>,

Source§

impl<I, P> IntoUiNode for SkipWhile<I, P>
where I: Iterator<Item = UiNode>, P: FnMut(&<I as Iterator>::Item) -> bool,

Source§

impl<I, P> IntoUiNode for TakeWhile<I, P>
where I: Iterator<Item = UiNode>, P: FnMut(&<I as Iterator>::Item) -> bool,

Source§

impl<I, St, F> IntoUiNode for Scan<I, St, F>
where I: Iterator, F: FnMut(&mut St, <I as Iterator>::Item) -> Option<UiNode>,

Source§

impl<I, U, F> IntoUiNode for FlatMap<I, U, F>
where I: Iterator, U: IntoIterator<Item = UiNode>, F: FnMut(I::Item) -> U,

Source§

impl<I, U> IntoUiNode for Flatten<I>
where I: Iterator, <I as Iterator>::Item: IntoIterator<IntoIter = U, Item = <U as Iterator>::Item>, U: Iterator<Item = UiNode>,

Source§

impl<I> IntoUiNode for Peekable<I>
where I: Iterator<Item = UiNode>,

Source§

impl<I> IntoUiNode for Rev<I>
where I: DoubleEndedIterator<Item = UiNode>,

Source§

impl<I> IntoUiNode for Skip<I>
where I: Iterator<Item = UiNode>,

Source§

impl<I> IntoUiNode for StepBy<I>
where I: Iterator<Item = UiNode>,

Source§

impl<I> IntoUiNode for Take<I>
where I: Iterator<Item = UiNode>,

Source§

impl<U: IntoUiNode> IntoUiNode for Option<U>

Source§

fn into_node(self) -> UiNode

Unwrap or nil.

Implementors§