Module model

Module model 

Source
Expand description

The core Model trait defining application behavior. This module defines the core Model trait, which is central to the Model-View-Update (MVU) architecture used in bubbletea-rs applications. The Model trait provides a clear and consistent interface for managing application state, processing messages, and rendering the user interface.

It is designed to be a direct, idiomatic Rust equivalent of Go’s bubbletea Model interface, facilitating migration and understanding for developers familiar with the Go version.

Traits§

Model
The Model trait defines the core interface for bubbletea-rs applications.