pub struct FlattenConfig {
pub input: PathBuf,
pub output: PathBuf,
pub preview: bool,
pub cut: bool,
pub exclude_extensions: Vec<String>,
}Expand description
扁平化配置
Fields§
§input: PathBuf源目录
output: PathBuf目标目录
preview: bool是否为预览模式
cut: bool是否为剪切模式
exclude_extensions: Vec<String>排除的文件扩展名
Implementations§
Auto Trait Implementations§
impl Freeze for FlattenConfig
impl RefUnwindSafe for FlattenConfig
impl Send for FlattenConfig
impl Sync for FlattenConfig
impl Unpin for FlattenConfig
impl UnwindSafe for FlattenConfig
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