pub struct GltfResourceFetchLoader { /* private fields */ }
Expand description

Loader of glTF resources using fetch API.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Loading error type.

Image data type.

Sets the root path of the asset.

Loads a glTF JSON or GLB file from path into bytes.

Loads a binary buffer from path or data url.

Loads an image from path or data url.

Decodes an image file binary of given mime type as image data.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.