Struct ash::vk::definitions::BindVideoSessionMemoryInfoKHR
source · #[repr(C)]pub struct BindVideoSessionMemoryInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub memory_bind_index: u32,
pub memory: DeviceMemory,
pub memory_offset: DeviceSize,
pub memory_size: DeviceSize,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§memory_bind_index: u32
§memory: DeviceMemory
§memory_offset: DeviceSize
§memory_size: DeviceSize
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> BindVideoSessionMemoryInfoKHR<'a>
impl<'a> BindVideoSessionMemoryInfoKHR<'a>
pub fn memory_bind_index(self, memory_bind_index: u32) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn memory_size(self, memory_size: DeviceSize) -> Self
Trait Implementations§
source§impl<'a> Clone for BindVideoSessionMemoryInfoKHR<'a>
impl<'a> Clone for BindVideoSessionMemoryInfoKHR<'a>
source§fn clone(&self) -> BindVideoSessionMemoryInfoKHR<'a>
fn clone(&self) -> BindVideoSessionMemoryInfoKHR<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for BindVideoSessionMemoryInfoKHR<'a>
impl<'a> Debug for BindVideoSessionMemoryInfoKHR<'a>
source§impl Default for BindVideoSessionMemoryInfoKHR<'_>
impl Default for BindVideoSessionMemoryInfoKHR<'_>
source§impl<'a> TaggedStructure for BindVideoSessionMemoryInfoKHR<'a>
impl<'a> TaggedStructure for BindVideoSessionMemoryInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::BIND_VIDEO_SESSION_MEMORY_INFO_KHR
impl<'a> Copy for BindVideoSessionMemoryInfoKHR<'a>
impl Send for BindVideoSessionMemoryInfoKHR<'_>
impl Sync for BindVideoSessionMemoryInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for BindVideoSessionMemoryInfoKHR<'a>
impl<'a> RefUnwindSafe for BindVideoSessionMemoryInfoKHR<'a>
impl<'a> Unpin for BindVideoSessionMemoryInfoKHR<'a>
impl<'a> UnwindSafe for BindVideoSessionMemoryInfoKHR<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more