[][src]Struct yew::html::ChildrenRenderer

pub struct ChildrenRenderer<T> { /* fields omitted */ }

A type used for rendering children html.

Methods

impl<T> ChildrenRenderer<T> where
    T: Clone + Into<VNode>, 
[src]

pub fn new(children: Vec<T>) -> Self[src]

Create children

pub fn is_empty(&self) -> bool[src]

Children list is empty

pub fn len(&self) -> usize[src]

Number of children elements

pub fn to_vec(&self) -> Vec<T>[src]

Build children components and return Vec

pub fn iter(&self) -> impl Iterator<Item = T>[src]

Render children components and return Iterator

Trait Implementations

impl<T: Clone> Clone for ChildrenRenderer<T>[src]

impl<T> Debug for ChildrenRenderer<T>[src]

impl<T> Default for ChildrenRenderer<T>[src]

impl<T> Renderable for ChildrenRenderer<T> where
    T: Clone + Into<VNode>, 
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ChildrenRenderer<T> where
    T: RefUnwindSafe

impl<T> Send for ChildrenRenderer<T> where
    T: Send

impl<T> Sync for ChildrenRenderer<T> where
    T: Sync

impl<T> Unpin for ChildrenRenderer<T> where
    T: Unpin

impl<T> UnwindSafe for ChildrenRenderer<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<COMP> Renderable for COMP where
    COMP: Component
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.