#[repr(C)]pub struct Origin3d {
pub x: u32,
pub y: u32,
pub z: u32,
}
Expand description
Origin of a copy to/from a texture.
Corresponds to WebGPU GPUOrigin3D
.
Fields§
§x: u32
X position of the origin
y: u32
Y position of the origin
z: u32
Z position of the origin
Implementations§
Trait Implementations§
impl Copy for Origin3d
impl Eq for Origin3d
impl StructuralPartialEq for Origin3d
Auto Trait Implementations§
impl Freeze for Origin3d
impl RefUnwindSafe for Origin3d
impl Send for Origin3d
impl Sync for Origin3d
impl Unpin for Origin3d
impl UnwindSafe for Origin3d
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
)