pub struct DeviceFnV1_3 {
Show 36 fields pub create_private_data_slot: unsafe extern "system" fn(_: Device, _: *const PrivateDataSlotCreateInfo, _: *const AllocationCallbacks, _: *mut PrivateDataSlot) -> Result, pub destroy_private_data_slot: unsafe extern "system" fn(_: Device, _: PrivateDataSlot, _: *const AllocationCallbacks), pub set_private_data: unsafe extern "system" fn(_: Device, _: ObjectType, _: u64, _: PrivateDataSlot, _: u64) -> Result, pub get_private_data: unsafe extern "system" fn(_: Device, _: ObjectType, _: u64, _: PrivateDataSlot, _: *mut u64), pub cmd_set_event2: unsafe extern "system" fn(_: CommandBuffer, _: Event, _: *const DependencyInfo), pub cmd_reset_event2: unsafe extern "system" fn(_: CommandBuffer, _: Event, _: PipelineStageFlags2), pub cmd_wait_events2: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: *const Event, _: *const DependencyInfo), pub cmd_pipeline_barrier2: unsafe extern "system" fn(_: CommandBuffer, _: *const DependencyInfo), pub cmd_write_timestamp2: unsafe extern "system" fn(_: CommandBuffer, _: PipelineStageFlags2, _: QueryPool, _: u32), pub queue_submit2: unsafe extern "system" fn(_: Queue, _: u32, _: *const SubmitInfo2, _: Fence) -> Result, pub cmd_copy_buffer2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyBufferInfo2), pub cmd_copy_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyImageInfo2), pub cmd_copy_buffer_to_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyBufferToImageInfo2), pub cmd_copy_image_to_buffer2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyImageToBufferInfo2), pub cmd_blit_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const BlitImageInfo2), pub cmd_resolve_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const ResolveImageInfo2), pub cmd_begin_rendering: unsafe extern "system" fn(_: CommandBuffer, _: *const RenderingInfo), pub cmd_end_rendering: unsafe extern "system" fn(_: CommandBuffer), pub cmd_set_cull_mode: unsafe extern "system" fn(_: CommandBuffer, _: CullModeFlags), pub cmd_set_front_face: unsafe extern "system" fn(_: CommandBuffer, _: FrontFace), pub cmd_set_primitive_topology: unsafe extern "system" fn(_: CommandBuffer, _: PrimitiveTopology), pub cmd_set_viewport_with_count: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: *const Viewport), pub cmd_set_scissor_with_count: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: *const Rect2D), pub cmd_bind_vertex_buffers2: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: *const Buffer, _: *const u64, _: *const u64, _: *const u64), pub cmd_set_depth_test_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32), pub cmd_set_depth_write_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32), pub cmd_set_depth_compare_op: unsafe extern "system" fn(_: CommandBuffer, _: CompareOp), pub cmd_set_depth_bounds_test_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32), pub cmd_set_stencil_test_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32), pub cmd_set_stencil_op: unsafe extern "system" fn(_: CommandBuffer, _: StencilFaceFlags, _: StencilOp, _: StencilOp, _: StencilOp, _: CompareOp), pub cmd_set_rasterizer_discard_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32), pub cmd_set_depth_bias_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32), pub cmd_set_primitive_restart_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32), pub get_device_buffer_memory_requirements: unsafe extern "system" fn(_: Device, _: *const DeviceBufferMemoryRequirements, _: *mut MemoryRequirements2), pub get_device_image_memory_requirements: unsafe extern "system" fn(_: Device, _: *const DeviceImageMemoryRequirements, _: *mut MemoryRequirements2), pub get_device_image_sparse_memory_requirements: unsafe extern "system" fn(_: Device, _: *const DeviceImageMemoryRequirements, _: *mut u32, _: *mut SparseImageMemoryRequirements2),
}

Fields§

§create_private_data_slot: unsafe extern "system" fn(_: Device, _: *const PrivateDataSlotCreateInfo, _: *const AllocationCallbacks, _: *mut PrivateDataSlot) -> Result§destroy_private_data_slot: unsafe extern "system" fn(_: Device, _: PrivateDataSlot, _: *const AllocationCallbacks)§set_private_data: unsafe extern "system" fn(_: Device, _: ObjectType, _: u64, _: PrivateDataSlot, _: u64) -> Result§get_private_data: unsafe extern "system" fn(_: Device, _: ObjectType, _: u64, _: PrivateDataSlot, _: *mut u64)§cmd_set_event2: unsafe extern "system" fn(_: CommandBuffer, _: Event, _: *const DependencyInfo)§cmd_reset_event2: unsafe extern "system" fn(_: CommandBuffer, _: Event, _: PipelineStageFlags2)§cmd_wait_events2: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: *const Event, _: *const DependencyInfo)§cmd_pipeline_barrier2: unsafe extern "system" fn(_: CommandBuffer, _: *const DependencyInfo)§cmd_write_timestamp2: unsafe extern "system" fn(_: CommandBuffer, _: PipelineStageFlags2, _: QueryPool, _: u32)§queue_submit2: unsafe extern "system" fn(_: Queue, _: u32, _: *const SubmitInfo2, _: Fence) -> Result§cmd_copy_buffer2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyBufferInfo2)§cmd_copy_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyImageInfo2)§cmd_copy_buffer_to_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyBufferToImageInfo2)§cmd_copy_image_to_buffer2: unsafe extern "system" fn(_: CommandBuffer, _: *const CopyImageToBufferInfo2)§cmd_blit_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const BlitImageInfo2)§cmd_resolve_image2: unsafe extern "system" fn(_: CommandBuffer, _: *const ResolveImageInfo2)§cmd_begin_rendering: unsafe extern "system" fn(_: CommandBuffer, _: *const RenderingInfo)§cmd_end_rendering: unsafe extern "system" fn(_: CommandBuffer)§cmd_set_cull_mode: unsafe extern "system" fn(_: CommandBuffer, _: CullModeFlags)§cmd_set_front_face: unsafe extern "system" fn(_: CommandBuffer, _: FrontFace)§cmd_set_primitive_topology: unsafe extern "system" fn(_: CommandBuffer, _: PrimitiveTopology)§cmd_set_viewport_with_count: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: *const Viewport)§cmd_set_scissor_with_count: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: *const Rect2D)§cmd_bind_vertex_buffers2: unsafe extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: *const Buffer, _: *const u64, _: *const u64, _: *const u64)§cmd_set_depth_test_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32)§cmd_set_depth_write_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32)§cmd_set_depth_compare_op: unsafe extern "system" fn(_: CommandBuffer, _: CompareOp)§cmd_set_depth_bounds_test_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32)§cmd_set_stencil_test_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32)§cmd_set_stencil_op: unsafe extern "system" fn(_: CommandBuffer, _: StencilFaceFlags, _: StencilOp, _: StencilOp, _: StencilOp, _: CompareOp)§cmd_set_rasterizer_discard_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32)§cmd_set_depth_bias_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32)§cmd_set_primitive_restart_enable: unsafe extern "system" fn(_: CommandBuffer, _: u32)§get_device_buffer_memory_requirements: unsafe extern "system" fn(_: Device, _: *const DeviceBufferMemoryRequirements, _: *mut MemoryRequirements2)§get_device_image_memory_requirements: unsafe extern "system" fn(_: Device, _: *const DeviceImageMemoryRequirements, _: *mut MemoryRequirements2)§get_device_image_sparse_memory_requirements: unsafe extern "system" fn(_: Device, _: *const DeviceImageMemoryRequirements, _: *mut u32, _: *mut SparseImageMemoryRequirements2)

Implementations§

source§

impl DeviceFnV1_3

source

pub fn load<F>(_f: F) -> DeviceFnV1_3
where F: FnMut(&CStr) -> *const c_void,

Trait Implementations§

source§

impl Clone for DeviceFnV1_3

source§

fn clone(&self) -> DeviceFnV1_3

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Send for DeviceFnV1_3

source§

impl Sync for DeviceFnV1_3

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more