Struct voodoo::Viewport
[−]
[src]
#[repr(C)]pub struct Viewport { /* fields omitted */ }
A VkViewport
.
Methods
impl Viewport
[src]
fn builder() -> ViewportBuilder
[src]
unsafe fn from_raw(raw: VkViewport) -> Viewport
[src]
fn x<'a>(&'a self) -> f32
[src]
fn y<'a>(&'a self) -> f32
[src]
fn width<'a>(&'a self) -> f32
[src]
fn height<'a>(&'a self) -> f32
[src]
fn min_depth<'a>(&'a self) -> f32
[src]
fn max_depth<'a>(&'a self) -> f32
[src]
fn set_x<'m>(&mut self, x: f32)
[src]
fn set_y<'m>(&mut self, y: f32)
[src]
fn set_width<'m>(&mut self, width: f32)
[src]
fn set_height<'m>(&mut self, height: f32)
[src]
fn set_min_depth<'m>(&mut self, min_depth: f32)
[src]
fn set_max_depth<'m>(&mut self, max_depth: f32)
[src]
fn as_raw(&self) -> &VkViewport
[src]
Trait Implementations
impl Debug for Viewport
[src]
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