#[repr(C)]pub struct VkExtent2D {
pub width: u32,
pub height: u32,
}
Fields§
§width: u32
§height: u32
Trait Implementations§
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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VkExtent2D
impl Default for VkExtent2D
Source§fn default() -> VkExtent2D
fn default() -> VkExtent2D
Returns the “default value” for a type. Read more
impl Copy 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