Struct voodoo::SpecializationMapEntry
[−]
[src]
#[repr(C)]pub struct SpecializationMapEntry { /* fields omitted */ }
A VkSpecializationMapEntry
.
Methods
impl SpecializationMapEntry
[src]
pub fn builder() -> SpecializationMapEntryBuilder
[src]
pub unsafe fn from_raw(raw: VkSpecializationMapEntry) -> SpecializationMapEntry
[src]
pub fn constant_id<'a>(&'a self) -> u32
[src]
pub fn offset<'a>(&'a self) -> u32
[src]
pub fn size<'a>(&'a self) -> usize
[src]
pub fn set_constant_id<'m>(&mut self, constant_id: u32)
[src]
pub fn set_offset<'m>(&mut self, offset: u32)
[src]
pub fn set_size<'m>(&mut self, size: usize)
[src]
pub fn as_raw(&self) -> &VkSpecializationMapEntry
[src]
Trait Implementations
impl Debug for SpecializationMapEntry
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SpecializationMapEntry
[src]
fn clone(&self) -> SpecializationMapEntry
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for SpecializationMapEntry
[src]
fn default() -> SpecializationMapEntry
[src]
Returns the "default value" for a type. Read more
impl From<SpecializationMapEntry> for VkSpecializationMapEntry
[src]
fn from(f: SpecializationMapEntry) -> VkSpecializationMapEntry
[src]
Performs the conversion.