pub struct Origin3D {
pub x: u32,
pub y: u32,
pub z: u32,
}
Expand description
A three-dimensional origin, representing an (x, y, z) offset.
This is often used to specify the corner of a 3D volume or an offset into a texture array.
Fields§
§x: u32
The x-coordinate of the origin.
y: u32
The y-coordinate of the origin.
z: u32
The z-coordinate or array layer of the origin.
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