[][src]Struct floaout::format::oao::Floaout

pub struct Floaout {
    pub version: u8,
    pub song_id: u64,
    pub bub_field_size: BubbleFieldSize,
    pub bubbles: u16,
    pub blocks: u64,
    pub sampling_rate: u32,
    pub bits_per_sample: u16,
}

Details of the Floaout file.

Fields

version: u8

This is the number of Floaout version.

song_id: u64

It links to title, artist, lyrics, image, etc. This ID will save the file size and enhance versatility. Developers also have the merit that they don't have to process title string and so on in the file and allow concentrate on audio processing. If Song ID is "0x0000000000000000", this means no link.

bub_field_size: BubbleFieldSize

This includes length, width and height.

bubbles: u16

Number of Bubble in Floaout

blocks: u64

This is number of block.

sampling_rate: u32

Sampling Rate

bits_per_sample: u16

Bits Per Sample

Trait Implementations

impl Clone for Floaout[src]

impl Copy for Floaout[src]

impl Debug for Floaout[src]

impl Default for Floaout[src]

impl Eq for Floaout[src]

impl From<Floaout> for Bubble[src]

impl Hash for Floaout[src]

impl Ord for Floaout[src]

impl PartialEq<Floaout> for Floaout[src]

impl PartialOrd<Floaout> for Floaout[src]

impl<'_, R: Read + ?Sized> ReadBlock<&'_ Floaout, FloaoutBlock> for R[src]

impl<R: Read + Seek> ReadBubsIn<Floaout, BubblesInFloaout> for BufReader<R>[src]

impl<R: Read + Seek> ReadFmt<Floaout, FloaoutBlocks> for BufReader<R>[src]

impl StructuralEq for Floaout[src]

impl StructuralPartialEq for Floaout[src]

impl<'_, '_, W: Write + ?Sized> WriteBlock<&'_ Floaout, &'_ FloaoutBlock> for W[src]

impl<W: Write> WriteFmt<Floaout, FloaoutBlocks> for BufWriter<W>[src]

Auto Trait Implementations

impl RefUnwindSafe for Floaout

impl Send for Floaout

impl Sync for Floaout

impl Unpin for Floaout

impl UnwindSafe for Floaout

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.