Struct wgpu_core::instance::Surface [−][src]
pub struct Surface { pub vulkan: Option<<Vulkan as Backend>::Surface>, pub gl: Option<<Gl as Backend>::Surface>, }
Fields
vulkan: Option<<Vulkan as Backend>::Surface>
gl: Option<<Gl as Backend>::Surface>
Trait Implementations
impl<B: Backend> Access<Adapter<B>> for Surface
[src]
impl<B: Backend> Access<Device<B>> for Surface
[src]
impl Access<Surface> for Root
[src]
impl Access<Surface> for Instance
[src]
Auto Trait Implementations
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnwindSafe for Surface
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more