Struct ash::extensions::khr::PushDescriptor
source · [−]pub struct PushDescriptor { /* private fields */ }
Implementations
sourceimpl PushDescriptor
impl PushDescriptor
pub fn new(instance: &Instance, device: &Device) -> Self
sourcepub unsafe fn cmd_push_descriptor_set(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
set: u32,
descriptor_writes: &[WriteDescriptorSet]
)
pub unsafe fn cmd_push_descriptor_set(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
set: u32,
descriptor_writes: &[WriteDescriptorSet]
)
sourcepub unsafe fn cmd_push_descriptor_set_with_template(
&self,
command_buffer: CommandBuffer,
descriptor_update_template: DescriptorUpdateTemplate,
layout: PipelineLayout,
set: u32,
p_data: *const c_void
)
pub unsafe fn cmd_push_descriptor_set_with_template(
&self,
command_buffer: CommandBuffer,
descriptor_update_template: DescriptorUpdateTemplate,
layout: PipelineLayout,
set: u32,
p_data: *const c_void
)
pub fn name() -> &'static CStr
pub fn fp(&self) -> &KhrPushDescriptorFn
Trait Implementations
sourceimpl Clone for PushDescriptor
impl Clone for PushDescriptor
sourcefn clone(&self) -> PushDescriptor
fn clone(&self) -> PushDescriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for PushDescriptor
impl Send for PushDescriptor
impl Sync for PushDescriptor
impl Unpin for PushDescriptor
impl UnwindSafe for PushDescriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more