Struct vulkanalia::vk::ViewportBuilder[][src]

#[repr(transparent)]pub struct ViewportBuilder { /* fields omitted */ }

A builder for a Viewport.

Implementations

impl ViewportBuilder[src]

pub fn x(self, x: f32) -> Self[src]

pub fn y(self, y: f32) -> Self[src]

pub fn width(self, width: f32) -> Self[src]

pub fn height(self, height: f32) -> Self[src]

pub fn min_depth(self, min_depth: f32) -> Self[src]

pub fn max_depth(self, max_depth: f32) -> Self[src]

pub fn build(self) -> Viewport[src]

Trait Implementations

impl Cast for ViewportBuilder[src]

type Target = Viewport

The other type this type type can be used interchangeably with in FFI.

impl Clone for ViewportBuilder[src]

impl Copy for ViewportBuilder[src]

impl Debug for ViewportBuilder[src]

impl Default for ViewportBuilder[src]

impl Deref for ViewportBuilder[src]

type Target = Viewport

The resulting type after dereferencing.

impl DerefMut for ViewportBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.