Skip to main content

Bounds

Trait Bounds 

Source
pub trait Bounds {
    const MIN: f32;
    const MAX: f32;
}
Expand description

The closed interval a Bounded value lives in. Implemented by empty marker types (ProgressBounds, ZoomBounds, …).

Required Associated Constants§

Source

const MIN: f32

Source

const MAX: f32

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§

Source§

impl Bounds for WorldPxBounds

Source§

const MIN: f32 = 0.0

Source§

const MAX: f32 = f32::INFINITY