Skip to main content

ViewSeq

Trait ViewSeq 

Source
pub trait ViewSeq {
    // Required method
    fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>);
}
Expand description

An ordered collection of child views: tuples of up to 12 views, Vec<V> and Vec<AnyView>.

Required Methods§

Source

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Builds each child in order and appends its node to out.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> ViewSeq for (A, B, C, D, E, F, G, H, I, J, K, L)
where A: View, B: View, C: View, D: View, E: View, F: View, G: View, H: View, I: View, J: View, K: View, L: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D, E, F, G, H, I, J, K> ViewSeq for (A, B, C, D, E, F, G, H, I, J, K)
where A: View, B: View, C: View, D: View, E: View, F: View, G: View, H: View, I: View, J: View, K: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D, E, F, G, H, I, J> ViewSeq for (A, B, C, D, E, F, G, H, I, J)
where A: View, B: View, C: View, D: View, E: View, F: View, G: View, H: View, I: View, J: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D, E, F, G, H, I> ViewSeq for (A, B, C, D, E, F, G, H, I)
where A: View, B: View, C: View, D: View, E: View, F: View, G: View, H: View, I: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D, E, F, G, H> ViewSeq for (A, B, C, D, E, F, G, H)
where A: View, B: View, C: View, D: View, E: View, F: View, G: View, H: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D, E, F, G> ViewSeq for (A, B, C, D, E, F, G)
where A: View, B: View, C: View, D: View, E: View, F: View, G: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D, E, F> ViewSeq for (A, B, C, D, E, F)
where A: View, B: View, C: View, D: View, E: View, F: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D, E> ViewSeq for (A, B, C, D, E)
where A: View, B: View, C: View, D: View, E: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C, D> ViewSeq for (A, B, C, D)
where A: View, B: View, C: View, D: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B, C> ViewSeq for (A, B, C)
where A: View, B: View, C: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A, B> ViewSeq for (A, B)
where A: View, B: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<A> ViewSeq for (A,)
where A: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<C> ViewSeq for &C
where C: ViewSeq + ?Sized,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Source§

impl<V> ViewSeq for Vec<V>
where V: View,

Source§

fn build_each(&self, cx: &mut BuildCx<'_>, out: &mut Vec<NodeId>)

Implementors§