#[repr(C)]pub struct SpecializationMapEntry {
pub constant_id: u32,
pub offset: u32,
pub size: usize,
}Expand description
Native structure VkSpecializationMapEntry.
Fields§
§constant_id: u32Native field constantID.
offset: u32Native field offset.
size: usizeNative field size.
Implementations§
Source§impl SpecializationMapEntry
impl SpecializationMapEntry
Sourcepub fn set_constant_id(self, value: u32) -> Self
pub fn set_constant_id(self, value: u32) -> Self
Set native field constantID without native effects.
Sourcepub fn set_offset(self, value: u32) -> Self
pub fn set_offset(self, value: u32) -> Self
Set native field offset without native effects.
Trait Implementations§
Source§impl Clone for SpecializationMapEntry
impl Clone for SpecializationMapEntry
impl Copy for SpecializationMapEntry
Auto Trait Implementations§
impl Forget for SpecializationMapEntry
impl Freeze for SpecializationMapEntry
impl Move for SpecializationMapEntry
impl RefUnwindSafe for SpecializationMapEntry
impl Send for SpecializationMapEntry
impl Sync for SpecializationMapEntry
impl Unpin for SpecializationMapEntry
impl UnsafeUnpin for SpecializationMapEntry
impl UnwindSafe for SpecializationMapEntry
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