IntoSample

Trait IntoSample 

Source
pub trait IntoSample {
    // Required methods
    fn to_i16(&self) -> i16;
    fn to_i20(&self) -> i32;
    fn to_i24(&self) -> i32;

    // Provided method
    fn to_bps_level(&self, bps: BpsLevel) -> FLAC__int32 { ... }
}

Required Methods§

Source

fn to_i16(&self) -> i16

Source

fn to_i20(&self) -> i32

Source

fn to_i24(&self) -> i32

Provided Methods§

Implementations on Foreign Types§

Source§

impl IntoSample for f32

Source§

fn to_i16(&self) -> i16

Source§

fn to_i20(&self) -> i32

Source§

fn to_i24(&self) -> i32

Source§

impl IntoSample for f64

Source§

fn to_i16(&self) -> i16

Source§

fn to_i20(&self) -> i32

Source§

fn to_i24(&self) -> i32

Implementors§