[][src]Struct rendy::util::vulkan::Instance

pub struct Instance {
    pub raw: Arc<RawInstance>,
    pub extensions: Vec<&'static CStr>,
}

Fields

raw: Arc<RawInstance>extensions: Vec<&'static CStr>

Supported extensions of this instance.

Methods

impl Instance[src]

pub fn create_surface_from_xlib(
    &self,
    dpy: *mut *const c_void,
    window: u64
) -> Surface
[src]

pub fn create_surface_from_xcb(
    &self,
    connection: *mut *const c_void,
    window: u32
) -> Surface
[src]

pub fn create_surface_from_wayland(
    &self,
    display: *mut c_void,
    surface: *mut c_void,
    width: u32,
    height: u32
) -> Surface
[src]

pub fn create_surface(&self, window: &Window) -> Surface[src]

pub fn create_surface_from_vk_surface_khr(
    &self,
    surface: SurfaceKHR,
    width: u32,
    height: u32,
    samples: u8
) -> Surface
[src]

impl Instance[src]

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

Trait Implementations

impl Debug for Instance[src]

impl Instance for Instance[src]

type Backend = Backend

Associated backend type of this instance.

Auto Trait Implementations

impl Unpin for Instance

impl Sync for Instance

impl Send for Instance

impl UnwindSafe for Instance

impl RefUnwindSafe for Instance

Blanket Implementations

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.

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

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

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

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

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

impl<T> Erased for T[src]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more