[][src]Struct bedrock::DescriptorSetLayout

pub struct DescriptorSetLayout(_, _);

Opaque handle to a descriptor set layout object

Methods

impl DescriptorSetLayout[src]

Following methods are enabled with [feature = "Implements"]

pub fn new(device: &Device, bindings: &DSLBindings) -> Result<Self>[src]

Create a new descriptor set layout

Failures

On failure, this command returns

  • VK_ERROR_OUT_OF_HOST_MEMORY
  • VK_ERROR_OUT_OF_DEVICE_MEMORY

Trait Implementations

impl DeviceChild for DescriptorSetLayout[src]

impl Drop for DescriptorSetLayout[src]

impl VkHandle for DescriptorSetLayout[src]

type Handle = VkDescriptorSetLayout

Auto Trait Implementations

impl !RefUnwindSafe for DescriptorSetLayout

impl !Send for DescriptorSetLayout

impl !Sync for DescriptorSetLayout

impl Unpin for DescriptorSetLayout

impl !UnwindSafe for DescriptorSetLayout

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.