Browse Source

metadata: structs now derive Copy & Clone

master
Matteo Cypriani 3 years ago
parent
commit
e22af5b392
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/metadata/cuex.rs
  2. +1
    -1
      src/metadata/mtyp.rs
  3. +1
    -1
      src/metadata/sinf.rs

+ 1
- 1
src/metadata/cuex.rs View File

@ -63,7 +63,7 @@ impl fmt::Display for NrgCuex {
}
#[derive(Debug)]
#[derive(Copy, Clone, Debug)]
pub struct NrgCuexTrack {
pub mode: u8,
pub track_number: u8,


+ 1
- 1
src/metadata/mtyp.rs View File

@ -29,7 +29,7 @@ use ::error::NrgError;
use super::readers::read_u32;
#[derive(Debug)]
#[derive(Copy, Clone, Debug)]
pub struct NrgMtyp {
pub size: u32,
pub unknown: u32,


+ 1
- 1
src/metadata/sinf.rs View File

@ -29,7 +29,7 @@ use ::error::NrgError;
use super::readers::read_u32;
#[derive(Debug)]
#[derive(Copy, Clone, Debug)]
pub struct NrgSinf {
pub size: u32,
pub nb_tracks: u32,


Loading…
Cancel
Save