pub struct FileInfo<FileParams> {
pub num_frames: usize,
pub num_channels: u16,
pub sample_rate: Option<u32>,
pub params: FileParams,
}Expand description
Info about the file/files.
Fields§
§num_frames: usizeThe total number of frames in the file/files.
num_channels: u16The number of channels in the file/files.
sample_rate: Option<u32>The sample rate of the file/files (if it exists).
params: FileParamsAdditional info provided by the encoder/decoder.
Trait Implementations§
Auto Trait Implementations§
impl<FileParams> Freeze for FileInfo<FileParams>where
FileParams: Freeze,
impl<FileParams> RefUnwindSafe for FileInfo<FileParams>where
FileParams: RefUnwindSafe,
impl<FileParams> Send for FileInfo<FileParams>where
FileParams: Send,
impl<FileParams> Sync for FileInfo<FileParams>where
FileParams: Sync,
impl<FileParams> Unpin for FileInfo<FileParams>where
FileParams: Unpin,
impl<FileParams> UnwindSafe for FileInfo<FileParams>where
FileParams: UnwindSafe,
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