#[repr(C)]pub struct VkExtent2D {
pub width: u32,
pub height: u32,
}Fields§
§width: u32§height: u32Implementations§
Source§impl VkExtent2D
impl VkExtent2D
pub const fn with_depth(self, depth: u32) -> Extent3D
Source§impl VkExtent2D
Utility Constants
impl VkExtent2D
Utility Constants
Trait Implementations§
Source§impl AsFormat for VkExtent2D
impl AsFormat for VkExtent2D
Source§impl AsRef<VkExtent2D> for Extent2D
impl AsRef<VkExtent2D> for Extent2D
Source§impl AsRef<VkExtent2D> for Extent3D
impl AsRef<VkExtent2D> for Extent3D
Source§impl Clone for VkExtent2D
impl Clone for VkExtent2D
Source§fn clone(&self) -> VkExtent2D
fn clone(&self) -> VkExtent2D
Returns a duplicate of the value. Read more
1.0.0 · 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 VkExtent2D
impl Debug for VkExtent2D
Source§impl Hash for VkExtent2D
impl Hash for VkExtent2D
Source§impl ImageSize for VkExtent2D
impl ImageSize for VkExtent2D
const DIMENSION: VkImageType = 1i32
fn conv(self) -> VkExtent3D
Source§impl PartialEq for VkExtent2D
impl PartialEq for VkExtent2D
impl Copy for VkExtent2D
impl Eq for VkExtent2D
impl StructuralPartialEq for VkExtent2D
Auto Trait Implementations§
impl Freeze for VkExtent2D
impl RefUnwindSafe for VkExtent2D
impl Send for VkExtent2D
impl Sync for VkExtent2D
impl Unpin for VkExtent2D
impl UnwindSafe for VkExtent2D
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