struct BgiCBGHeader {
width: u16,
height: u16,
bpp: u32,
_unk: u64,
intermediate_length: u32,
key: u32,
enc_length: u32,
check_sum: u8,
check_xor: u8,
version: u16,
}
Available on crate features
bgi
and bgi-img
only.Fields§
§width: u16
§height: u16
§bpp: u32
§_unk: u64
§intermediate_length: u32
§key: u32
§enc_length: u32
§check_sum: u8
§check_xor: u8
§version: u16
Trait Implementations§
Source§impl Debug for BgiCBGHeader
impl Debug for BgiCBGHeader
Source§impl StructPack for BgiCBGHeader
impl StructPack for BgiCBGHeader
Auto Trait Implementations§
impl Freeze for BgiCBGHeader
impl RefUnwindSafe for BgiCBGHeader
impl Send for BgiCBGHeader
impl Sync for BgiCBGHeader
impl Unpin for BgiCBGHeader
impl UnwindSafe for BgiCBGHeader
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> 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