[−][src]Struct luminance::texture::Dim3
3D dimension.
Trait Implementations
impl Dimensionable for Dim3
[src]
type Offset = [u32; 3]
Offset type of a dimension (used to caracterize addition and subtraction of sizes, mostly).
type Size = [u32; 3]
Size type of a dimension (used to caracterize dimensions’ areas).
const ZERO_OFFSET: Self::Offset
[src]
fn dim() -> Dim
[src]
fn width(size: Self::Size) -> u32
[src]
fn height(size: Self::Size) -> u32
[src]
fn depth(size: Self::Size) -> u32
[src]
fn x_offset(off: Self::Offset) -> u32
[src]
fn y_offset(off: Self::Offset) -> u32
[src]
fn z_offset(off: Self::Offset) -> u32
[src]
fn count([width, height, depth]: Self::Size) -> usize
[src]
impl Clone for Dim3
[src]
impl Copy for Dim3
[src]
impl Debug for Dim3
[src]
Auto Trait Implementations
impl Unpin for Dim3
impl Sync for Dim3
impl Send for Dim3
impl UnwindSafe for Dim3
impl RefUnwindSafe for Dim3
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,