[go: up one dir, main page]

Struct gltf::glb::Header [] [src]

pub struct Header {
    pub magic: [u8; 4],
    pub version: u32,
    pub length: u32,
}

The header section of a .glb file.

Fields

Must be b"glTF".

Must be 2.

Must match the length of the parent .glb file.

Trait Implementations

impl Copy for Header
[src]

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Header
[src]

[src]

Formats the value using the given formatter.