pub fn directory(name: impl Into<String>) -> DirectoryCapability {
        DirectoryCapability {
            name: name.into(),
            as_: None,
            type_: fdecl::DependencyType::Strong,
            rights: None,
            subdir: None,
            path: None,
        }
    }
/// Creates a new directory capability.
Creates a new directory capability.
Creates a new directory capability .
pub fn directory(name: impl Into<String>) -> DirectoryCapability {
        DirectoryCapability {
            name: name.into(),
            as_: None,
            type_: fdecl::DependencyType::Strong,
            rights: None,
            subdir: None,
            path: None,
        }
    }
pub fn directory ( name : impl Into < String > ) -> DirectoryCapability { DirectoryCapability { name : name . into ( ) , as_ : None , type_ : fdecl :: DependencyType :: Strong , rights : None , subdir : None , path : None , } }
Creates a new directory capability.
Creates a new directory capability .
name
impl Into<String>
name
impl Into<String>