pub struct AlphaMip<'a> {
pub width: u32,
pub height: u32,
pub row_pitch: u32,
pub data: &'a [u8],
}Fields§
§width: u32Must not exceed the preceding mip’s width (equal dimensions are allowed).
height: u32Must not exceed the preceding mip’s height (equal dimensions are allowed).
row_pitch: u32Bytes between row starts; zero means width. Final-row padding is optional.
data: &'a [u8]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AlphaMip<'a>
impl<'a> RefUnwindSafe for AlphaMip<'a>
impl<'a> Send for AlphaMip<'a>
impl<'a> Sync for AlphaMip<'a>
impl<'a> Unpin for AlphaMip<'a>
impl<'a> UnsafeUnpin for AlphaMip<'a>
impl<'a> UnwindSafe for AlphaMip<'a>
Blanket Implementations§
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