pub struct Raw3Image {
pub pixels: Vec<u32>,
}Expand description
Each mipmap contains what appears to be
32 bit BGRA data. alpha_bits seems to represent a set of bit flags
rather than depth, as all images of this type seem to have 4 bytes per
pixel regardless of depth, and it has been seen to exceed 8. Their
meaning is unknown.
Fields§
§pixels: Vec<u32>Implementations§
Trait Implementations§
impl Eq for Raw3Image
Source§impl Ord for Raw3Image
impl Ord for Raw3Image
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Raw3Image
impl PartialOrd for Raw3Image
impl StructuralPartialEq for Raw3Image
Auto Trait Implementations§
impl Freeze for Raw3Image
impl RefUnwindSafe for Raw3Image
impl Send for Raw3Image
impl Sync for Raw3Image
impl Unpin for Raw3Image
impl UnsafeUnpin for Raw3Image
impl UnwindSafe for Raw3Image
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more