Struct wgpu_types::Origin3d
source · #[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§
source§impl PartialEq for Origin3d
impl PartialEq for Origin3d
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