[][src]Struct vulkanalia::vk::Rect2DBuilder

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

A builder for a Rect2D.

Implementations

impl Rect2DBuilder[src]

pub fn offset(self, offset: impl Cast<Target = Offset2D>) -> Self[src]

pub fn extent(self, extent: impl Cast<Target = Extent2D>) -> Self[src]

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

Trait Implementations

impl Cast for Rect2DBuilder[src]

type Target = Rect2D

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

impl Clone for Rect2DBuilder[src]

impl Copy for Rect2DBuilder[src]

impl Debug for Rect2DBuilder[src]

impl Default for Rect2DBuilder[src]

impl Deref for Rect2DBuilder[src]

type Target = Rect2D

The resulting type after dereferencing.

impl DerefMut for Rect2DBuilder[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.