Struct bedrock::Extent2D
[−]
[src]
#[repr(C)]pub struct Extent2D(pub u32, pub u32);
Trait Implementations
impl ImageSize for Extent2D
[src]
const DIMENSION: VkImageType
DIMENSION: VkImageType = VK_IMAGE_TYPE_2D
fn conv(&self) -> VkExtent3D
[src]
impl Debug for Extent2D
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Extent2D
[src]
fn clone(&self) -> Extent2D
[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 PartialEq for Extent2D
[src]
fn eq(&self, __arg_0: &Extent2D) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Extent2D) -> bool
[src]
This method tests for !=
.
impl Eq for Extent2D
[src]
impl From<Extent2D> for VkExtent2D
[src]
impl Into<Extent2D> for Extent1D
[src]
impl Into<Extent3D> for Extent2D
[src]
impl AsRef<VkExtent2D> for Extent2D
[src]
fn as_ref(&self) -> &VkExtent2D
[src]
Performs the conversion.