[][src]Module iced_audio::core

The core module of Iced Audio.

This module holds basic types that can be reused and re-exported in different runtime implementations.

Re-exports

pub use param::*;
pub use range::*;
pub use text_marks::*;
pub use tick_marks::*;

Modules

math

Math helper functions

param

Module for the Param trait

range

Ranges of parameter values that map to a Normal

text_marks

Structs for constructing a group of TextMarks.

tick_marks

Structs for constructing a group of TickMarks.

Structs

KnobAngleRange

The range between the minimum and maximum angle (in radians) the knob will rotate.

ModulationRange

The state of a modulation range

Normal

An f32 value that is gauranteed to be constrained to the range of

TexturePadding

The texture padding around a bounding rectangle. This is useful when the texture is larger than the intended bounds of the widget, such as a glowing button texture or a slider with a drop shadow, etc.

Statics

DEFAULT_ANGLE_MAX

The default maximum angle of a rotating widget such as a Knob

DEFAULT_ANGLE_MIN

The default minimum angle of a rotating widget such as a Knob

TAU

2.0 * pi