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: u32The x-coordinate of the origin.
y: u32The y-coordinate of the origin.
z: u32The 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 UnsafeUnpin for Origin3D
impl UnwindSafe for Origin3D
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.