pub struct Index {
pub dfd_byte_offset: u32,
pub dfd_byte_length: u32,
pub kvd_byte_offset: u32,
pub kvd_byte_length: u32,
pub sgd_byte_offset: u64,
pub sgd_byte_length: u64,
}
Expand description
An index giving the byte offsets from the start of the file and byte sizes of the various sections of the KTX2 file.
Fields§
§dfd_byte_offset: u32
§dfd_byte_length: u32
§kvd_byte_offset: u32
§kvd_byte_length: u32
§sgd_byte_offset: u64
§sgd_byte_length: u64
Trait Implementations§
impl Copy for Index
impl Eq for Index
impl StructuralPartialEq for Index
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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