pub struct PathSets { /* private fields */ }Implementations§
Source§impl PathSets
impl PathSets
Sourcepub fn new<P: AsRef<Path>, S: AsRef<str>>(
dir: P,
audio_extension: S,
line_extension: S,
) -> Result<Self, Error>
pub fn new<P: AsRef<Path>, S: AsRef<str>>( dir: P, audio_extension: S, line_extension: S, ) -> Result<Self, Error>
create a new instance of PathSets.
§Arguments
dir- The directory where the audio and line files are located.audio_extension- The extension of the audio file.line_extension- The extension of the line file.
Sourcepub fn check(&self) -> Result<ListForCheck, Error>
pub fn check(&self) -> Result<ListForCheck, Error>
return list of path to be changed(not renamed yet)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathSets
impl RefUnwindSafe for PathSets
impl Send for PathSets
impl Sync for PathSets
impl Unpin for PathSets
impl UnsafeUnpin for PathSets
impl UnwindSafe for PathSets
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