pub struct DecoderInfo {
pub supported_formats: &'static [&'static str],
pub output_format: AudioFormat,
}
Expand description
Decoder information and capabilities
Fields§
§supported_formats: &'static [&'static str]
List of supported input formats (e.g., “MP3”, “WAV”)
output_format: AudioFormat
Output audio format specification
Trait Implementations§
Source§impl Clone for DecoderInfo
impl Clone for DecoderInfo
Source§fn clone(&self) -> DecoderInfo
fn clone(&self) -> DecoderInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DecoderInfo
impl RefUnwindSafe for DecoderInfo
impl Send for DecoderInfo
impl Sync for DecoderInfo
impl Unpin for DecoderInfo
impl UnwindSafe for DecoderInfo
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