[][src]Struct vulkano::instance::ApplicationInfo

pub struct ApplicationInfo<'a> {
    pub application_name: Option<Cow<'a, str>>,
    pub application_version: Option<Version>,
    pub engine_name: Option<Cow<'a, str>>,
    pub engine_version: Option<Version>,
}

Information that can be given to the Vulkan driver so that it can identify your application.

Fields

application_name: Option<Cow<'a, str>>

Name of the application.

application_version: Option<Version>

An opaque number that contains the version number of the application.

engine_name: Option<Cow<'a, str>>

Name of the engine used to power the application.

engine_version: Option<Version>

An opaque number that contains the version number of the engine.

Methods

impl<'a> ApplicationInfo<'a>[src]

pub fn from_cargo_toml() -> ApplicationInfo<'a>[src]

Deprecated:

Please use the app_info_from_cargo_toml! macro instead

Builds an ApplicationInfo from the information gathered by Cargo.

Panic

  • Panics if the required environment variables are missing, which happens if the project wasn't built by Cargo.

Trait Implementations

impl<'a> Clone for ApplicationInfo<'a>[src]

impl<'a> Default for ApplicationInfo<'a>[src]

impl<'a> Debug for ApplicationInfo<'a>[src]

Auto Trait Implementations

impl<'a> Send for ApplicationInfo<'a>

impl<'a> Sync for ApplicationInfo<'a>

impl<'a> Unpin for ApplicationInfo<'a>

impl<'a> UnwindSafe for ApplicationInfo<'a>

impl<'a> RefUnwindSafe for ApplicationInfo<'a>

Blanket Implementations

impl<T> Content for T[src]

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

impl<T> From<T> for 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.

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]