#[repr(C)]pub struct Header {
pub magic: [u8; 4],
pub version: u32,
pub length: u32,
}
Expand description
The header section of a .glb file.
Fields§
§magic: [u8; 4]
Must be b"glTF"
.
version: u32
Must be 2
.
length: u32
Must match the length of the parent .glb file.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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