fn resolve_path(&self, filename: &str) -> Result<PathBuf, ResolveError> {
        for prefix in &self.base_paths {
            let full_path = prefix.join(filename);
            if full_path.as_path().is_file() {
                return Ok(full_path);
            }
        }
        Err(ResolveError::new_raw(filename))
    }
/// Resolve a relative LDraw filename reference into an actual path on disk.
Resolve a relative LDraw filename reference into an actual path on disk.
Resolve a relative LDraw filename reference into an actual path on disk .
fn resolve_path(&self, filename: &str) -> Result<PathBuf, ResolveError> {
        for prefix in &self.base_paths {
            let full_path = prefix.join(filename);
            if full_path.as_path().is_file() {
                return Ok(full_path);
            }
        }
        Err(ResolveError::new_raw(filename))
    }
fn resolve_path ( & self , filename : & str ) -> Result < PathBuf , ResolveError > { for prefix in & self . base_paths { let full_path = prefix . join ( filename ) ; if full_path . as_path ( ) . is_file ( ) { return Ok ( full_path ) ; } } Err ( ResolveError :: new_raw ( filename ) ) }
Resolve a relative LDraw filename reference into an actual path on disk.
Resolve a relative LDraw filename reference into an actual path on disk .
&self
filename
&str
&self
filename
&str