pub fn get(path: &str) -> Result<UiAsset, AssetError>Expand description
Looks up an embedded asset by /sf-relative path.
Returns AssetError::InvalidPath for unsafe paths, including absolute
paths, empty paths, backslash paths, duplicate slashes, and ./..
segments. Returns AssetError::NotFound for valid paths that are not
embedded.