[][src]Enum gfx_backend_vulkan::Backend

pub enum Backend {}

Trait Implementations

impl Copy for Backend[src]

impl Eq for Backend[src]

impl Clone for Backend[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Backend> for Backend[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Hash for Backend[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Backend[src]

impl PhysicalDevice<Backend> for PhysicalDevice[src]

impl Device<Backend> for Device[src]

unsafe fn create_buffer(
    &self,
    size: u64,
    usage: Usage
) -> Result<Buffer, CreationError>
[src]

unsafe fn create_command_pool_typed<C>(
    &self,
    group: &QueueGroup<B, C>,
    flags: CommandPoolCreateFlags
) -> Result<CommandPool<B, C>, OutOfMemory>
[src]

Create a strongly typed command pool wrapper.

unsafe fn create_graphics_pipeline(
    &self,
    desc: &GraphicsPipelineDesc<'a, B>,
    cache: Option<&<B as Backend>::PipelineCache>
) -> Result<<B as Backend>::GraphicsPipeline, CreationError>
[src]

Create a graphics pipeline.

unsafe fn create_compute_pipeline(
    &self,
    desc: &ComputePipelineDesc<'a, B>,
    cache: Option<&<B as Backend>::PipelineCache>
) -> Result<<B as Backend>::ComputePipeline, CreationError>
[src]

Create a compute pipeline.

unsafe fn acquire_mapping_reader<T>(
    &self,
    memory: &'a <B as Backend>::Memory,
    range: Range<u64>
) -> Result<Reader<'a, B, T>, Error> where
    T: Copy
[src]

Acquire a mapping Reader. Read more

unsafe fn release_mapping_reader<T>(&self, reader: Reader<'a, B, T>)[src]

Release a mapping Reader.

unsafe fn acquire_mapping_writer<T>(
    &self,
    memory: &'a <B as Backend>::Memory,
    range: Range<u64>
) -> Result<Writer<'a, B, T>, Error> where
    T: Copy
[src]

Acquire a mapping Writer. Read more

unsafe fn release_mapping_writer<T>(
    &self,
    writer: Writer<'a, B, T>
) -> Result<(), OutOfMemory>
[src]

Release a mapping Writer.

unsafe fn reset_fence(
    &self,
    fence: &<B as Backend>::Fence
) -> Result<(), OutOfMemory>
[src]

unsafe fn wait_for_fence(
    &self,
    fence: &<B as Backend>::Fence,
    timeout_ns: u64
) -> Result<bool, OomOrDeviceLost>
[src]

Blocks until the given fence is signaled. Returns true if the fence was signaled before the timeout. Read more

impl Backend for Backend[src]

type PhysicalDevice = PhysicalDevice

type Device = Device

type Surface = Surface

type Swapchain = Swapchain

type QueueFamily = QueueFamily

type CommandQueue = CommandQueue

type CommandBuffer = CommandBuffer

type Memory = Memory

type CommandPool = RawCommandPool

type ShaderModule = ShaderModule

type RenderPass = RenderPass

type Framebuffer = Framebuffer

type Buffer = Buffer

type BufferView = BufferView

type Image = Image

type ImageView = ImageView

type Sampler = Sampler

type ComputePipeline = ComputePipeline

type GraphicsPipeline = GraphicsPipeline

type PipelineLayout = PipelineLayout

type PipelineCache = PipelineCache

type DescriptorSetLayout = DescriptorSetLayout

type DescriptorPool = DescriptorPool

type DescriptorSet = DescriptorSet

type Fence = Fence

type Semaphore = Semaphore

type QueryPool = QueryPool

impl RawCommandQueue<Backend> for CommandQueue[src]

Auto Trait Implementations

impl Unpin for Backend

impl Sync for Backend

impl Send for Backend

impl UnwindSafe for Backend

impl RefUnwindSafe for Backend

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.