pub trait CaminoUtilModule {
// Required method
fn get_file_main_name(&self) -> Option<CompactString>;
}Expand description
Extension trait for Camino paths to extract the main module file name.
Required Methods§
Sourcefn get_file_main_name(&self) -> Option<CompactString>
fn get_file_main_name(&self) -> Option<CompactString>
Gets the base compact string name without extension and specific postfixes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".