feat: wayland
This commit is contained in:
@@ -28,6 +28,9 @@ pub enum ServerError {
|
||||
DeserializationError(#[from] DeserializationError),
|
||||
#[error("Reader error: {0}")]
|
||||
ReaderError(#[from] ReaderError),
|
||||
#[cfg(feature = "wayland")]
|
||||
#[error("Wayland error: {0}")]
|
||||
WaylandError(waynest::server::Error),
|
||||
#[error("Aspect {} does not exist for node", 0.to_string())]
|
||||
NoAspect(TypeId),
|
||||
#[error("{0}")]
|
||||
|
||||
7
src/core/graphics_info.rs
Normal file
7
src/core/graphics_info.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use bevy::asset::Assets;
|
||||
use bevy::ecs::world::Mut;
|
||||
use bevy::image::Image;
|
||||
|
||||
pub struct GraphicsInfo<'w> {
|
||||
pub _images: Mut<'w, Assets<Image>>,
|
||||
}
|
||||
@@ -6,6 +6,7 @@ pub mod delta;
|
||||
pub mod destroy_queue;
|
||||
pub mod entity_handle;
|
||||
pub mod error;
|
||||
pub mod graphics_info;
|
||||
pub mod registry;
|
||||
pub mod resource;
|
||||
pub mod scenegraph;
|
||||
|
||||
Reference in New Issue
Block a user