pub trait RunPresent<E = (), C = ()> {
type Input<'a>
where Self: 'a,
E: 'a;
type Output;
type Error;
// Required method
fn run_present<'a>(
&'a mut self,
frame: &mut RunFrame<'a, E, C>,
input: Self::Input<'a>,
) -> Result<Self::Output, Self::Error> ⓘ;
}Expand description
⬡ Presentation finalization driven by a runtime.
📍 run
A runtime or driver calls run_present
after rendering to finalize or expose the prepared artifact.
The presentation input may borrow from renderer- or scene-local state,
while backend access is provided through the current RunFrame.
This keeps host access on the backend side and avoids coupling render artifacts to backend borrows.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".