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§
Source§impl Ord for Raw3Image
impl Ord for Raw3Image
Source§impl PartialOrd for Raw3Image
impl PartialOrd for Raw3Image
impl Eq 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 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
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