pub struct GameData {
pub command_sender: Sender<GameCommand>,
pub surface: Surface,
pub surface_format: TextureFormat,
pub limits: Limits,
pub config: SurfaceConfiguration,
pub size: PhysicalSize<u32>,
pub window: Window,
pub device: Device,
pub queue: Queue,
}Fields§
§command_sender: Sender<GameCommand>§surface: Surface§surface_format: TextureFormat§limits: Limits§config: SurfaceConfiguration§size: PhysicalSize<u32>§window: Window§device: Device§queue: QueueAuto Trait Implementations§
impl !RefUnwindSafe for GameData
impl Send for GameData
impl Sync for GameData
impl Unpin for GameData
impl !UnwindSafe for GameData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more