Struct voodoo::Viewport
[−]
[src]
#[repr(C)]pub struct Viewport { /* fields omitted */ }
A VkViewport
.
Methods
impl Viewport
[src]
pub fn builder() -> ViewportBuilder
[src]
pub unsafe fn from_raw(raw: VkViewport) -> Viewport
[src]
pub fn x<'a>(&'a self) -> f32
[src]
pub fn y<'a>(&'a self) -> f32
[src]
pub fn width<'a>(&'a self) -> f32
[src]
pub fn height<'a>(&'a self) -> f32
[src]
pub fn min_depth<'a>(&'a self) -> f32
[src]
pub fn max_depth<'a>(&'a self) -> f32
[src]
pub fn set_x<'m>(&mut self, x: f32)
[src]
pub fn set_y<'m>(&mut self, y: f32)
[src]
pub fn set_width<'m>(&mut self, width: f32)
[src]
pub fn set_height<'m>(&mut self, height: f32)
[src]
pub fn set_min_depth<'m>(&mut self, min_depth: f32)
[src]
pub fn set_max_depth<'m>(&mut self, max_depth: f32)
[src]
pub fn as_raw(&self) -> &VkViewport
[src]
Trait Implementations
impl Debug for Viewport
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Viewport
[src]
fn clone(&self) -> Viewport
[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 Viewport
[src]
impl From<Viewport> for VkViewport
[src]
fn from(f: Viewport) -> VkViewport
[src]
Performs the conversion.