#[repr(C)]pub struct VkExtent3D {
pub width: u32,
pub height: u32,
pub depth: u32,
}Fields§
§width: u32§height: u32§depth: u32Implementations§
Source§impl VkExtent3D
impl VkExtent3D
Source§impl VkExtent3D
impl VkExtent3D
pub const fn wh(&self) -> VkExtent2D
pub const fn wd(&self) -> VkExtent2D
pub const fn hw(&self) -> VkExtent2D
pub const fn hd(&self) -> VkExtent2D
pub const fn dw(&self) -> VkExtent2D
pub const fn dh(&self) -> VkExtent2D
Source§impl VkExtent3D
impl VkExtent3D
Trait Implementations§
Source§impl AsRef<VkExtent2D> for VkExtent3D
impl AsRef<VkExtent2D> for VkExtent3D
Source§fn as_ref(&self) -> &VkExtent2D
fn as_ref(&self) -> &VkExtent2D
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<VkExtent3D> for VkExtent3D
impl AsRef<VkExtent3D> for VkExtent3D
Source§impl Clone for VkExtent3D
impl Clone for VkExtent3D
Source§fn clone(&self) -> VkExtent3D
fn clone(&self) -> VkExtent3D
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkExtent3D
impl Debug for VkExtent3D
Source§impl From<VkExtent3D> for VkExtent2D
impl From<VkExtent3D> for VkExtent2D
Source§fn from(value: VkExtent3D) -> Self
fn from(value: VkExtent3D) -> Self
Converts to this type from the input type.
Source§impl Hash for VkExtent3D
impl Hash for VkExtent3D
Source§impl PartialEq for VkExtent3D
impl PartialEq for VkExtent3D
Source§fn eq(&self, other: &VkExtent3D) -> bool
fn eq(&self, other: &VkExtent3D) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VkExtent3D
impl Eq for VkExtent3D
impl StructuralPartialEq for VkExtent3D
Auto Trait Implementations§
impl Freeze for VkExtent3D
impl RefUnwindSafe for VkExtent3D
impl Send for VkExtent3D
impl Sync for VkExtent3D
impl Unpin for VkExtent3D
impl UnsafeUnpin for VkExtent3D
impl UnwindSafe for VkExtent3D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more