alsa::pcm

Trait IoFormat

Source
pub trait IoFormat: Copy {
    const FORMAT: Format;
}

Required Associated Constants§

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.

Implementations on Foreign Types§

Source§

impl IoFormat for f32

Source§

const FORMAT: Format = Format::FloatLE

Source§

impl IoFormat for f64

Source§

const FORMAT: Format = Format::Float64LE

Source§

impl IoFormat for i8

Source§

const FORMAT: Format = Format::S8

Source§

impl IoFormat for i16

Source§

const FORMAT: Format = Format::S16LE

Source§

impl IoFormat for i32

Source§

const FORMAT: Format = Format::S32LE

Source§

impl IoFormat for u8

Source§

const FORMAT: Format = Format::U8

Source§

impl IoFormat for u16

Source§

const FORMAT: Format = Format::U16LE

Source§

impl IoFormat for u32

Source§

const FORMAT: Format = Format::U32LE

Implementors§