Skip to main content

LayoutState

Trait LayoutState 

Source
pub trait LayoutState:
    SerializableAny
    + Default
    + Debug {
    // Provided methods
    fn load(ui: &Ui, id: Option<String>) -> Self { ... }
    fn save(self, ui: &mut Ui, id: Option<String>) { ... }
}

Provided Methods§

Source

fn load(ui: &Ui, id: Option<String>) -> Self

Source

fn save(self, ui: &mut Ui, id: Option<String>)

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§