Struct wgpu::Origin3d[][src]

#[repr(C)]
pub struct Origin3d { pub x: u32, pub y: u32, pub z: u32, }

Origin of a copy to/from a texture.

Fields

x: u32
y: u32
z: u32

Implementations

impl Origin3d[src]

pub const ZERO: Origin3d[src]

Zero origin.

Trait Implementations

impl Clone for Origin3d[src]

impl Copy for Origin3d[src]

impl Debug for Origin3d[src]

impl Default for Origin3d[src]

impl<'de> Deserialize<'de> for Origin3d[src]

impl Eq for Origin3d[src]

impl Hash for Origin3d[src]

impl PartialEq<Origin3d> for Origin3d[src]

impl Serialize for Origin3d[src]

impl StructuralEq for Origin3d[src]

impl StructuralPartialEq for Origin3d[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast<T> for T

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T