Skip to main content

ContentControl

Trait ContentControl 

Source
pub trait ContentControl: ContentControl + Sized {
    // Provided method
    fn content(self, content: impl Into<View>) -> View { ... }
}
Expand description

Assigns one content view to a native content control.

Provided Methods§

Source

fn content(self, content: impl Into<View>) -> View

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§