[−][src]Struct czkawka_core::common::Common
Class for common functions used across other class/functions
Implementations
impl Common
[src]
pub fn print_time(
start_time: SystemTime,
end_time: SystemTime,
function_name: String
)
[src]
start_time: SystemTime,
end_time: SystemTime,
function_name: String
)
Printing time which took between start and stop point and prints also function name
pub fn delete_multiple_entries(entries: &[String]) -> Vec<String>
[src]
pub fn delete_one_entry(entry: &str) -> String
[src]
pub fn regex_check(expression: &str, directory: impl AsRef<Path>) -> bool
[src]
Function to check if directory match expression
pub fn normalize_windows_path(path_to_change: impl AsRef<Path>) -> PathBuf
[src]
Auto Trait Implementations
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnwindSafe for Common
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,