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