Struct gltf::glb::Header
[−]
[src]
#[repr(C)]pub struct Header { pub magic: [u8; 4], pub version: u32, pub length: u32, }
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
impl Copy for Header
[src]
impl Clone for Header
[src]
fn clone(&self) -> Header
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more