Type Alias Children

Source
pub type Children = Children<View>;
Expand description

A type alias for Children automatically selecting the correct node type.

Aliased Type§

struct Children { /* private fields */ }

Implementations

Source§

impl<V> Children<V>

Source

pub fn call(self) -> V

Instantiates the child view.

Source

pub fn new(f: impl FnOnce() -> V + 'static) -> Children<V>

Create a new Children from a closure.

Trait Implementations

Source§

impl<V> Debug for Children<V>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<V> Default for Children<V>
where V: Default + 'static,

Source§

fn default() -> Children<V>

Returns the “default value” for a type. Read more
Source§

impl<F, V> From<F> for Children<V>
where F: FnOnce() -> V + 'static,

Source§

fn from(f: F) -> Children<V>

Converts to this type from the input type.