Struct raw_audio::Encoder [−][src]
Encoder for RAW Audio
Implementations
impl<W: Write, F: Frame, P: Pcm> Encoder<W, F, P>
[src]
impl<W: Write, F: Frame> Encoder<W, F, U8>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, S8>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, MuLaw>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, ALaw>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, U16Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, U16Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, S16Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, S16Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, U24Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, U24Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, S24Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, S24Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, U32Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, U32Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, S32Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, S32Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, F32Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, F32Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, F64Le>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
impl<W: Write, F: Frame> Encoder<W, F, F64Be>
[src]
pub fn encode<S: Stream<F>>(&mut self, stream: S) -> Result<()>
[src]
Append encoded data from a stream to the output. This can be called multiple times to encode as needed instead of all at once.
Auto Trait Implementations
impl<W, F, P> RefUnwindSafe for Encoder<W, F, P> where
F: RefUnwindSafe,
P: RefUnwindSafe,
W: RefUnwindSafe,
F: RefUnwindSafe,
P: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, F, P> Send for Encoder<W, F, P> where
F: Send,
P: Send,
W: Send,
F: Send,
P: Send,
W: Send,
impl<W, F, P> Sync for Encoder<W, F, P> where
F: Sync,
P: Sync,
W: Sync,
F: Sync,
P: Sync,
W: Sync,
impl<W, F, P> Unpin for Encoder<W, F, P> where
P: Unpin,
W: Unpin,
P: Unpin,
W: Unpin,
impl<W, F, P> UnwindSafe for Encoder<W, F, P> where
F: UnwindSafe,
P: UnwindSafe,
W: UnwindSafe,
F: UnwindSafe,
P: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,