pub enum WavError {
NotWav,
Unsupported {
format: u16,
bits: u16,
},
Truncated,
}Expand description
WAV として読めなかった理由。
Variants§
NotWav
RIFF / WAVE の形でない(頭の印がない、fmt ・data の塊がない)。
Unsupported
読まない符号化(format は WAV の形式の番号、bits は 1 サンプルのビット数)。
Truncated
塊の長さがファイルの終わりを越えている(途中で切れたファイル)。
Trait Implementations§
impl Eq for WavError
impl StructuralPartialEq for WavError
Auto Trait Implementations§
impl Forget for WavError
impl Freeze for WavError
impl Move for WavError
impl RefUnwindSafe for WavError
impl Send for WavError
impl Sync for WavError
impl Unpin for WavError
impl UnsafeUnpin for WavError
impl UnwindSafe for WavError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.