pub struct FlacEncoder { /* private fields */ }Expand description
Streaming FLAC encoder using raw libflac FFI.
Implementations§
Source§impl FlacEncoder
impl FlacEncoder
Sourcepub fn new(format: SampleFormat, options: &str) -> Result<Self>
pub fn new(format: SampleFormat, options: &str) -> Result<Self>
Create a new FLAC encoder. Options: compression level 0-8 (default: 2).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlacEncoder
impl RefUnwindSafe for FlacEncoder
impl !Sync for FlacEncoder
impl Unpin for FlacEncoder
impl UnsafeUnpin for FlacEncoder
impl UnwindSafe for FlacEncoder
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