Struct wgpu::Origin3d[][src]

pub struct Origin3d { pub x: u32, pub y: u32, pub z: u32, }

Origin of a copy to/from a texture.


x: u32
y: u32
z: u32


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> CallHasher for T where
    T: Hash

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

impl<T> Downcast<T> for T

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T