Function lancelot::rsrc::get_path[][src]

pub fn get_path(rsrc: Rsrc) -> String
Expand description

Fetch the file system path of the given resource.

use lancelot::rsrc::*;
assert!(get_path(Rsrc::K32).ends_with("k32.bin"));