Struct ash::vk::SpecializationInfo
source · #[repr(C)]pub struct SpecializationInfo<'a> {
pub map_entry_count: u32,
pub p_map_entries: *const SpecializationMapEntry,
pub data_size: usize,
pub p_data: *const c_void,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§map_entry_count: u32
§p_map_entries: *const SpecializationMapEntry
§data_size: usize
§p_data: *const c_void
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SpecializationInfo<'a>
impl<'a> SpecializationInfo<'a>
pub fn map_entries(self, map_entries: &'a [SpecializationMapEntry]) -> Self
pub fn data(self, data: &'a [u8]) -> Self
Trait Implementations§
source§impl<'a> Clone for SpecializationInfo<'a>
impl<'a> Clone for SpecializationInfo<'a>
source§fn clone(&self) -> SpecializationInfo<'a>
fn clone(&self) -> SpecializationInfo<'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 SpecializationInfo<'a>
impl<'a> Debug for SpecializationInfo<'a>
source§impl Default for SpecializationInfo<'_>
impl Default for SpecializationInfo<'_>
impl<'a> Copy for SpecializationInfo<'a>
impl Send for SpecializationInfo<'_>
impl Sync for SpecializationInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for SpecializationInfo<'a>
impl<'a> RefUnwindSafe for SpecializationInfo<'a>
impl<'a> Unpin for SpecializationInfo<'a>
impl<'a> UnwindSafe for SpecializationInfo<'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