pub struct Display { /* private fields */ }Implementations
sourceimpl Display
impl Display
pub fn new(device: &Arc<Device>, swapchain: Swapchain) -> Self
pub fn acquire_next_image(
&mut self
) -> Result<(SwapchainImageNode, RenderGraph), SwapchainError>
pub fn present_image(
&mut self,
render_graph: RenderGraph,
swapchain_image: SwapchainImageNode
) -> Result<(), DisplayError>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Display
impl Send for Display
impl !Sync for Display
impl Unpin for Display
impl !UnwindSafe for Display
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more