Struct dacite::core::Extent2D [] [src]

pub struct Extent2D {
    pub width: u32,
    pub height: u32,
}

Fields

Methods

impl Extent2D
[src]

Creates a new Extent2D.

Creates an Extent2D with all components set to 0.

Creates an Extent2D from an Extent3D by discarding the depth component.

Trait Implementations

impl Debug for Extent2D
[src]

Formats the value using the given formatter.

impl Copy for Extent2D
[src]

impl Clone for Extent2D
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Extent2D
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Extent2D
[src]

impl Hash for Extent2D
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> From<&'a VkExtent2D> for Extent2D
[src]

Performs the conversion.