mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-18 07:48:02 +08:00
* wgpu-executor: remove useless features * wgpu-executor: cleanup copy-pasted code * gcore-shaders: no_std fixups
20 lines
278 B
Rust
20 lines
278 B
Rust
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
pub mod blending;
|
|
pub mod choice_type;
|
|
pub mod color;
|
|
pub mod context;
|
|
pub mod registry;
|
|
|
|
pub use context::Ctx;
|
|
pub use glam;
|
|
|
|
pub trait AsU32 {
|
|
fn as_u32(&self) -> u32;
|
|
}
|
|
impl AsU32 for u32 {
|
|
fn as_u32(&self) -> u32 {
|
|
*self
|
|
}
|
|
}
|