#[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: u32X position of the origin
y: u32Y position of the origin
z: u32Z 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