Trait vizia::views::normalized_map::NormalizedMap

source ·
pub trait NormalizedMap: 'static + Clone {
    // Required method
    fn normalized_to_display(&self, normalized: f32) -> String;

    // Provided method
    fn snap(&self, normalized: f32) -> f32 { ... }
}

Required Methods§

source

fn normalized_to_display(&self, normalized: f32) -> String

Provided Methods§

source

fn snap(&self, normalized: f32) -> f32

Object Safety§

This trait is not object safe.

Implementors§