Struct voodoo::RectLayerKhr
[−]
[src]
#[repr(C)]pub struct RectLayerKhr { /* fields omitted */ }
A VkRectLayerKHR
.
Methods
impl RectLayerKhr
[src]
pub fn builder() -> RectLayerKhrBuilder
[src]
pub unsafe fn from_raw(raw: VkRectLayerKHR) -> RectLayerKhr
[src]
pub fn offset<'a>(&'a self) -> &'a Offset2d
[src]
pub fn offset_mut<'a>(&'a mut self) -> &'a mut Offset2d
[src]
pub fn extent<'a>(&'a self) -> &'a Extent2d
[src]
pub fn extent_mut<'a>(&'a mut self) -> &'a mut Extent2d
[src]
pub fn layer<'a>(&'a self) -> u32
[src]
pub fn set_offset<'m>(&mut self, offset: Offset2d)
[src]
pub fn set_extent<'m>(&mut self, extent: Extent2d)
[src]
pub fn set_layer<'m>(&mut self, layer: u32)
[src]
pub fn as_raw(&self) -> &VkRectLayerKHR
[src]
Trait Implementations
impl Debug for RectLayerKhr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RectLayerKhr
[src]
fn clone(&self) -> RectLayerKhr
[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 RectLayerKhr
[src]
fn default() -> RectLayerKhr
[src]
Returns the "default value" for a type. Read more
impl From<RectLayerKhr> for VkRectLayerKHR
[src]
fn from(f: RectLayerKhr) -> VkRectLayerKHR
[src]
Performs the conversion.