Struct libmathcat::speech::FilesAndTimes
source · pub struct FilesAndTimes { /* private fields */ }Implementations§
source§impl FilesAndTimes
impl FilesAndTimes
pub fn new(start_path: PathBuf) -> FilesAndTimes
sourcepub fn is_file_up_to_date(
&self,
pref_path: &Path,
should_ignore_file_time: bool
) -> bool
pub fn is_file_up_to_date( &self, pref_path: &Path, should_ignore_file_time: bool ) -> bool
Returns true if the main file matches the corresponding preference location and files’ times are all current
pub fn as_path(&self) -> &Path
pub fn paths(&self) -> Vec<PathBuf>
Trait Implementations§
source§impl Debug for FilesAndTimes
impl Debug for FilesAndTimes
source§impl Default for FilesAndTimes
impl Default for FilesAndTimes
source§fn default() -> FilesAndTimes
fn default() -> FilesAndTimes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FilesAndTimes
impl Send for FilesAndTimes
impl Sync for FilesAndTimes
impl Unpin for FilesAndTimes
impl UnwindSafe for FilesAndTimes
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