[−][src]Struct luminance::texture::Dim1Array
1D array dimension.
Trait Implementations
impl Clone for Dim1Array
[src]
impl Copy for Dim1Array
[src]
impl Debug for Dim1Array
[src]
impl Dimensionable for Dim1Array
[src]
type Offset = (u32, u32)
Offset type of a dimension (used to caracterize addition and subtraction of sizes, mostly).
type Size = (u32, u32)
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 x_offset(off: Self::Offset) -> u32
[src]
fn y_offset(off: Self::Offset) -> u32
[src]
fn count((width, layer): Self::Size) -> usize
[src]
fn depth(_: Self::Size) -> u32
[src]
fn z_offset(_: Self::Offset) -> u32
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dim1Array
impl Send for Dim1Array
impl Sync for Dim1Array
impl Unpin for Dim1Array
impl UnwindSafe for Dim1Array
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,