gltf_kun 0.0.6

Graph-based glTF processing library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Provides a way to resolve URIs during import.

use std::error::Error;

pub mod file_resolver;

/// Resolves a URI.
pub trait Resolver {
    type Error: Error + Send + Sync + Sized;

    #[allow(async_fn_in_trait)]
    async fn resolve(&mut self, uri: &str) -> Result<Vec<u8>, Self::Error>;
}