Crate distill_importer

Crate distill_importer 

Source

Re-exports§

pub use serde;

Structs§

ArtifactMetadata
Serializable metadata for an artifact. Stored in .meta files and metadata DB.
AssetMetadata
Serializable metadata for an asset. Stored in .meta files and metadata DB.
ExportAsset
Input to Importer::export
ImportOp
ImportedAsset
Contains metadata and asset data for an imported asset. Produced by Importer implementations.
ImporterValue
Return value for Importers containing all imported assets.
SerializedAsset
SourceMetadata
SourceMetadata is the in-memory representation of the .meta file for a (source, .meta) pair.

Enums§

Error

Constants§

SOURCEMETADATA_VERSION
Version of the SourceMetadata struct. Used for forward compatibility to enable changing the .meta file format

Traits§

AsyncImporter
Importers parse file formats and produce assets.
BoxedImporter
Trait object wrapper for crate::Importer implementations. Enables using Importers without knowing the concrete type. See crate::Importer for documentation on fields.
Importer
Importers parse file formats and produce assets.
ImporterContext
ImporterContextHandle
IntoSerdeObj
SerdeObj
A trait for serializing any struct with a TypeUuid

Functions§

import_error
Convenience function for reporting an error in an Importer

Type Aliases§

Result