pub trait Expand<T, P: AsRef<Path>> {
// Required method
fn expand(self, base: P) -> T;
}Expand description
此 trait 用于提取缩减表示的原始展开,例如路径通配符的展开
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".