#[repr(C)]pub struct Origin2d {
pub x: u32,
pub y: u32,
}
Expand description
Origin of a copy from a 2D image.
Corresponds to WebGPU GPUOrigin2D
.
Fields§
§x: u32
§y: u32
Implementations§
Trait Implementations§
impl Copy for Origin2d
impl Eq for Origin2d
impl StructuralPartialEq for Origin2d
Auto Trait Implementations§
impl Freeze for Origin2d
impl RefUnwindSafe for Origin2d
impl Send for Origin2d
impl Sync for Origin2d
impl Unpin for Origin2d
impl UnwindSafe for Origin2d
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)