pub trait FoundryPathExt {
// Required methods
fn is_sol_test(&self) -> bool;
fn is_sol(&self) -> bool;
fn is_yul(&self) -> bool;
}Expand description
Useful extensions to std::path::Path.
Required Methods§
Sourcefn is_sol_test(&self) -> bool
fn is_sol_test(&self) -> bool
Returns true if the Path ends with .t.sol
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".