pub struct BlpDxtn {
pub format: DxtnFormat,
pub cmap: Vec<u32>,
pub images: Vec<DxtnImage>,
}
Fields§
§format: DxtnFormat
§cmap: Vec<u32>
§images: Vec<DxtnImage>
Implementations§
Source§impl BlpDxtn
impl BlpDxtn
Sourcepub fn mipmap_locator(&self, version: BlpVersion) -> MipmapLocator
pub fn mipmap_locator(&self, version: BlpVersion) -> MipmapLocator
Predict internal locator to write down mipmaps
Trait Implementations§
Source§impl Ord for BlpDxtn
impl Ord for BlpDxtn
Source§impl PartialOrd for BlpDxtn
impl PartialOrd for BlpDxtn
impl Eq for BlpDxtn
impl StructuralPartialEq for BlpDxtn
Auto Trait Implementations§
impl Freeze for BlpDxtn
impl RefUnwindSafe for BlpDxtn
impl Send for BlpDxtn
impl Sync for BlpDxtn
impl Unpin for BlpDxtn
impl UnwindSafe for BlpDxtn
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