[][src]Struct rhyoea::extends::layer::Layer

pub struct Layer { /* fields omitted */ }

Vulkan Layer

Methods

impl Layer[src]

#[must_use] pub const fn spec_version(&self) -> u32[src]

Returns the specification version layer

Example

use rhyoea::extends::{Layers, Layer};

let extensions = Layers::available();
let version_layer: Vec<_> = extensions
  .into_iter()
  .map(|layer| layer.spec_version())
  .collect();

#[must_use] pub const fn implementation_version(&self) -> u32[src]

Returns the implementationversion layer

Example

use rhyoea::extends::{Layers, Layer};

let extensions = Layers::available();
let version_layer: Vec<_> = extensions
  .into_iter()
  .map(|layer| layer.implementation_version())
  .collect();

Trait Implementations

impl Extends for Layer[src]

impl Clone for Layer[src]

impl Eq for Layer[src]

impl PartialEq<Layer> for Layer[src]

impl Debug for Layer[src]

impl Hash for Layer[src]

Auto Trait Implementations

impl Send for Layer

impl Sync for Layer

impl Unpin for Layer

impl UnwindSafe for Layer

impl RefUnwindSafe for Layer

Blanket Implementations

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 = !

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]