Skip to main content

ContainerExt

Trait ContainerExt 

Source
pub trait ContainerExt {
    // Required method
    fn container(self) -> Container;
}
Expand description

A trait that adds a container method to any type that implements IntoView.

Required Methods§

Source

fn container(self) -> Container

Wrap the view in a container.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> ContainerExt for T
where T: IntoView + 'static,