pub struct Seq {
pub indices: Vec<i64>,
pub missed: Vec<i64>,
pub start: i64,
pub end: i64,
pub padding: usize,
/* private fields */
}Expand description
Sequence of numbered files
Fields§
§indices: Vec<i64>Frame numbers actually present
missed: Vec<i64>Missing frame numbers
start: i64First frame
end: i64Last frame
padding: usizePadding (0 = variable/unpadded, >0 = fixed width)
Implementations§
Source§impl Seq
impl Seq
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Check if sequence is empty (required by Clippy when len() exists)
Sourcepub fn group_seqs(flist: &mut Vec<File>) -> Vec<Seq>
pub fn group_seqs(flist: &mut Vec<File>) -> Vec<Seq>
Group files into sequences. Uses mask-based grouping to handle unpadded sequences correctly.
Sourcepub fn extract_seq(target: &File, files: &mut Vec<File>) -> Option<Seq>
pub fn extract_seq(target: &File, files: &mut Vec<File>) -> Option<Seq>
Extract sequence containing target file from file list. Drains files with matching sig_hash, returns Seq containing target.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Seq
impl RefUnwindSafe for Seq
impl Send for Seq
impl Sync for Seq
impl Unpin for Seq
impl UnwindSafe for Seq
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more