pub struct FrameContext<'a, P> where
    P: SharedPointerKind
{ pub device: &'a SharedPointer<Device<P>, P>, pub dt: f32, pub events: &'a [Event<'a, ()>], pub height: u32, pub render_graph: &'a mut RenderGraph<P>, pub swapchain_image: SwapchainImageNode<P>, pub will_exit: &'a mut bool, pub width: u32, pub window: &'a Window, }

Fields

device: &'a SharedPointer<Device<P>, P>dt: f32events: &'a [Event<'a, ()>]height: u32render_graph: &'a mut RenderGraph<P>swapchain_image: SwapchainImageNode<P>will_exit: &'a mut boolwidth: u32window: &'a Window

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.