craft_core 0.1.1

Core library for the Craft GUI framework.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::resource_manager::resource::Resource;
use crate::resource_manager::resource_type::ResourceType;
use crate::resource_manager::ResourceIdentifier;

#[derive(Debug)]
pub enum ResourceEvent {
    Loaded(ResourceIdentifier, ResourceType, Resource),
    #[allow(dead_code)]
    UnLoaded(ResourceIdentifier),
}