pub enum BlpTarget {
Blp0(BlpOldFormat),
Blp1(BlpOldFormat),
Blp2(Blp2Format),
}
Expand description
A way to specify image_to_blp which BLP type you want to get in a result.
Variants§
Blp0(BlpOldFormat)
BLP0 format variation. War3 RoC Beta builds. External mipmaps.
Blp1(BlpOldFormat)
BLP1 format variation. War3 TFT usual textures. Internal mipmaps.
Blp2(Blp2Format)
BLP2 format variation. WoW usual textures. Internal mipmaps.
Trait Implementations§
impl Eq for BlpTarget
impl StructuralPartialEq for BlpTarget
Auto Trait Implementations§
impl Freeze for BlpTarget
impl RefUnwindSafe for BlpTarget
impl Send for BlpTarget
impl Sync for BlpTarget
impl Unpin for BlpTarget
impl UnwindSafe for BlpTarget
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.