pub struct FormatDescription {
pub num_channels: u32,
pub num_samples: u32,
pub has_tag: bool,
}Expand description
The features of the song
Fields§
§num_channels: u32§num_samples: u32§has_tag: boolIs the format description based on a tag. Most mod file have a tag descriptor that makes it possible to identify the file with some certainty. The very earliest files do not have a tag but are assumed to support 4 channels and 15 samples.
Auto Trait Implementations§
impl Freeze for FormatDescription
impl RefUnwindSafe for FormatDescription
impl Send for FormatDescription
impl Sync for FormatDescription
impl Unpin for FormatDescription
impl UnwindSafe for FormatDescription
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