[][src]Struct wgpu_core::instance::Instance

pub struct Instance {
    pub vulkan: Option<Instance>,
}

Fields

vulkan: Option<Instance>

Methods

impl Instance[src]

pub fn new(name: &str, version: u32) -> Self[src]

Trait Implementations

impl Access<Instance> for Root[src]

impl Access<Surface> for Instance[src]

impl Debug for Instance[src]

Auto Trait Implementations

impl RefUnwindSafe for Instance

impl Send for Instance

impl Sync for Instance

impl Unpin for Instance

impl UnwindSafe for Instance

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.