[][src]Struct vulkanalia::Entry

pub struct Entry { /* fields omitted */ }

A Vulkan entry point.

Implementations

impl Entry[src]

pub fn new(
    loader: impl Loader + 'static
) -> Result<Self, Box<dyn Error + 'static>>
[src]

Loads a Vulkan entry point using a Vulkan function loader.

pub fn version(&self) -> VkResult<Version>[src]

Gets the instance-level version of this Vulkan entry point.

pub fn create_instance(
    &self,
    info: &InstanceCreateInfo,
    allocator: Option<&AllocationCallbacks>
) -> VkResult<Instance>
[src]

Creates a Vulkan instance using this Vulkan entry point.

Trait Implementations

Auto Trait Implementations

impl !RefUnwindSafe for Entry

impl Unpin for Entry

impl !UnwindSafe for Entry

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.