Struct creek_core::FileInfo
source · 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: usize
The total number of frames in the file/files.
num_channels: u16
The number of channels in the file/files.
sample_rate: Option<u32>
The sample rate of the file/files (if it exists).
params: FileParams
Additional info provided by the encoder/decoder.
Trait Implementations§
Auto Trait Implementations§
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