Skip to main content

Pane

Trait Pane 

Source
pub trait Pane: Sized {
    // Required methods
    fn of(view: &View) -> Option<&Self>;
    fn of_mut(view: &mut View) -> Option<&mut Self>;
}
Expand description

A view type a window can show: the typed way to reach it through a View.

Required Methods§

Source

fn of(view: &View) -> Option<&Self>

Source

fn of_mut(view: &mut View) -> Option<&mut Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§