#[repr(C)]pub struct VkOffset2D {
pub x: i32,
pub y: i32,
}
Fields§
§x: i32
§y: i32
Trait Implementations§
Source§impl Clone for VkOffset2D
impl Clone for VkOffset2D
Source§fn clone(&self) -> VkOffset2D
fn clone(&self) -> VkOffset2D
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 VkOffset2D
impl Default for VkOffset2D
Source§fn default() -> VkOffset2D
fn default() -> VkOffset2D
Returns the “default value” for a type. Read more
impl Copy for VkOffset2D
Auto Trait Implementations§
impl Freeze for VkOffset2D
impl RefUnwindSafe for VkOffset2D
impl Send for VkOffset2D
impl Sync for VkOffset2D
impl Unpin for VkOffset2D
impl UnwindSafe for VkOffset2D
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