Trait WindowParams

Source
pub(crate) trait WindowParams {
    // Required methods
    fn maximum() -> u16;
    fn increment() -> u16;
    fn start() -> u16;
}
Expand description

Helper: parametrizes a window to determine its maximum and its increment.

Required Methods§

Source

fn maximum() -> u16

Largest allowable value for this window.

Source

fn increment() -> u16

Increment for this window.

Source

fn start() -> u16

The default starting value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§