pub fn track_fragments(&self) -> Vec<&TrackFragmentBox> {
        self.boxes.iter().filter_map(|b| {
            match b {
                MP4Box::TrackFragmentBox(ref t) => Some(t),
                _ => None,
            }
        }).collect::<Vec<_>>()
    }
/// Get a reference to the list of track fragments.
Get a reference to the list of track fragments.
Get a reference to the list of track fragments .
pub fn track_fragments(&self) -> Vec<&TrackFragmentBox> {
        self.boxes.iter().filter_map(|b| {
            match b {
                MP4Box::TrackFragmentBox(ref t) => Some(t),
                _ => None,
            }
        }).collect::<Vec<_>>()
    }
pub fn track_fragments ( & self ) -> Vec < & TrackFragmentBox > { self . boxes . iter ( ) . filter_map ( | b | { match b { MP4Box :: TrackFragmentBox ( ref t ) => Some ( t ) , _ => None , } } ) . collect :: < Vec < _ > > ( ) }
Get a reference to the list of track fragments.
Get a reference to the list of track fragments .
&self
&self