pub struct EventLoop<P> where
P: SharedPointerKind + Send, {
pub device: SharedPointer<Device<P>, P>,
pub window: Window,
/* private fields */
}Fields
device: SharedPointer<Device<P>, P>window: WindowImplementations
sourceimpl<P> EventLoop<P> where
P: SharedPointerKind + Send,
impl<P> EventLoop<P> where
P: SharedPointerKind + Send,
pub fn new_buffer(
&self,
info: impl Into<BufferInfo>
) -> SharedPointer<Buffer<P>, P>
pub fn new_compute_pipeline(
&self,
info: impl Into<ComputePipelineInfo>
) -> SharedPointer<ComputePipeline<P>, P>
pub fn new_image(&self, info: impl Into<ImageInfo>) -> ImageBinding<P>
pub fn new_image_raw(&self, info: impl Into<ImageInfo>) -> Image<P>
pub fn new_graphic_pipeline<S>(
&self,
info: impl Into<GraphicPipelineInfo>,
shaders: impl IntoIterator<Item = S>
) -> SharedPointer<GraphicPipeline<P>, P> where
S: Into<Shader>,
sourceimpl<P> EventLoop<P> where
P: SharedPointerKind + Send,
impl<P> EventLoop<P> where
P: SharedPointerKind + Send,
Trait Implementations
Auto Trait Implementations
impl<P> !RefUnwindSafe for EventLoop<P>
impl<P> !Send for EventLoop<P>
impl<P> !Sync for EventLoop<P>
impl<P> Unpin for EventLoop<P> where
P: Unpin,
impl<P> !UnwindSafe for EventLoop<P>
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