vizia::views::normalized_map

Trait NormalizedMap

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§

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

Provided Methods§

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

Object Safety§

This trait is not object safe.

Implementors§