IntoViewIter

Trait IntoViewIter 

Source
pub trait IntoViewIter {
    // Required method
    fn into_view_iter(self) -> impl Iterator<Item = AnyView>;
}
Expand description

Trait for types that can be converted into an iterator of views.

Returns an iterator to enable lazy view construction and avoid intermediate allocations.

Required Methods§

Source

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Converts this type into an iterator of boxed views.

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.

Implementations on Foreign Types§

Source§

impl IntoViewIter for ()

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView> IntoViewIter for (A,)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView> IntoViewIter for (A, B)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView> IntoViewIter for (A, B, C)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView> IntoViewIter for (A, B, C, D)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView> IntoViewIter for (A, B, C, D, E)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView> IntoViewIter for (A, B, C, D, E, F)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView> IntoViewIter for (A, B, C, D, E, F, G)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView, I: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H, I)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView, I: IntoView, J: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H, I, J)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView, I: IntoView, J: IntoView, K: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H, I, J, K)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

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

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView, I: IntoView, J: IntoView, K: IntoView, L: IntoView, M: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView, I: IntoView, J: IntoView, K: IntoView, L: IntoView, M: IntoView, N: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView, I: IntoView, J: IntoView, K: IntoView, L: IntoView, M: IntoView, N: IntoView, O: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<A: IntoView, B: IntoView, C: IntoView, D: IntoView, E: IntoView, F: IntoView, G: IntoView, H: IntoView, I: IntoView, J: IntoView, K: IntoView, L: IntoView, M: IntoView, N: IntoView, O: IntoView, P: IntoView> IntoViewIter for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<V: IntoView + Clone> IntoViewIter for &[V]

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<V: IntoView> IntoViewIter for Vec<V>

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Source§

impl<V: IntoView, const N: usize> IntoViewIter for [V; N]

Source§

fn into_view_iter(self) -> impl Iterator<Item = AnyView>

Implementors§