Struct voodoo::PushConstantRange
[−]
[src]
#[repr(C)]pub struct PushConstantRange { /* fields omitted */ }
A VkPushConstantRange
.
Methods
impl PushConstantRange
[src]
pub fn builder() -> PushConstantRangeBuilder
[src]
pub unsafe fn from_raw(raw: VkPushConstantRange) -> PushConstantRange
[src]
pub fn stage_flags<'a>(&'a self) -> ShaderStageFlags
[src]
pub fn offset<'a>(&'a self) -> u32
[src]
pub fn size<'a>(&'a self) -> u32
[src]
pub fn set_stage_flags<'m>(&mut self, stage_flags: ShaderStageFlags)
[src]
pub fn set_offset<'m>(&mut self, offset: u32)
[src]
pub fn set_size<'m>(&mut self, size: u32)
[src]
pub fn as_raw(&self) -> &VkPushConstantRange
[src]
Trait Implementations
impl Debug for PushConstantRange
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PushConstantRange
[src]
fn clone(&self) -> PushConstantRange
[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 PushConstantRange
[src]
fn default() -> PushConstantRange
[src]
Returns the "default value" for a type. Read more
impl From<PushConstantRange> for VkPushConstantRange
[src]
fn from(f: PushConstantRange) -> VkPushConstantRange
[src]
Performs the conversion.