Trait terra::cache::WebAsset
[−]
[src]
pub trait WebAsset { type Type; fn url(&self) -> String; fn filename(&self) -> String; fn parse(&self, data: Vec<u8>) -> Result<Self::Type, Box<Error>>; fn credentials(&self) -> Option<(String, String)> { ... } fn load(&self) -> Result<Self::Type, Box<Error>> { ... } }
Associated Types
type Type
Required Methods
fn url(&self) -> String
fn filename(&self) -> String
fn parse(&self, data: Vec<u8>) -> Result<Self::Type, Box<Error>>
Provided Methods
Implementors
impl WebAsset for SkyboxAsset type Type = SkyboxRaw;
impl WebAsset for DigitalElevationModelParams type Type = DigitalElevationModel;