/// Returns either the file or folder name of a given component of the
/// library. In case that this doesn't apply, returns the empty string.
Returns either the file or folder name of a given component of the
library. In case that this doesn't apply, returns the empty string.
Returns either the file or folder name of a given component of the library . In case that this doesn ' t apply returns the empty string .
pub fn path_name(&self) -> &str {
        match self {
            Library::UnloadedFolder { name, .. }
            | Library::LoadedFolder { name, .. }
            | Library::File { name, .. } => name,
            Library::Special(_) => "",
        }
    }
pub fn path_name ( & self ) -> & str { match self { Library :: UnloadedFolder { name , .. } | Library :: LoadedFolder { name , .. } | Library :: File { name , .. } => name , Library :: Special ( _ ) => " " , } }
Returns either the file or folder name of a given component of the
library.
Returns either the file or folder name of a given component of the library .
&self