git.delta.rocks / unique-network / refs/commits / 3903c8aaf16e

difftreelog

source

primitives/rmrk-traits/src/lib.rs767 Bsourcehistory
1#![cfg_attr(not(feature = "std"), no_std)]23pub mod base;4pub mod collection;5pub mod nft;6pub mod part;7pub mod property;8pub mod resource;9pub mod theme;1011#[cfg(feature = "std")]12mod serialize;1314pub use base::BaseInfo;15pub use part::{EquippableList, FixedPart, PartType, SlotPart};16pub use theme::{Theme, ThemeProperty};17pub use collection::CollectionInfo;18pub use nft::{AccountIdOrCollectionNftTuple, NftInfo, RoyaltyInfo, NftChild};19pub use property::PropertyInfo;20pub use resource::{BasicResource, ComposableResource, ResourceInfo, ResourceTypes, SlotResource};21pub mod primitives {22	pub type CollectionId = u32;23	pub type ResourceId = u32;24	pub type NftId = u32;25	pub type BaseId = u32;26	pub type SlotId = u32;27	pub type PartId = u32;28	pub type ZIndex = u32;29}