Struct file_matcher::FolderNamed [−][src]
pub struct FolderNamed(_);
Expand description
Defines a folder with various name types. It is required that there exists exactly one folder with a given name description.
use file_matcher::FolderNamed; // Find an exactly one folder matching cat* within tests/assets folder FolderNamed::wildmatch("cat*") .within("tests/assets") .find()?; // Check there exists a folder matching cat* within tests/assets folder FolderNamed::wildmatch("cat*") .within("tests/assets") .exists()?;
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FolderNamed
impl Send for FolderNamed
impl Sync for FolderNamed
impl Unpin for FolderNamed
impl UnwindSafe for FolderNamed
Blanket Implementations
Mutably borrows from an owned value. Read more