pub struct Glb<'a> {
pub header: Header,
pub json: Cow<'a, [u8]>,
pub bin: Option<Cow<'a, [u8]>>,
}
Expand description
Binary glTF contents.
Fields§
§header: Header
The header section of the .glb
file.
json: Cow<'a, [u8]>
The JSON section of the .glb
file.
bin: Option<Cow<'a, [u8]>>
The optional BIN section of the .glb
file.
Implementations§
source§impl<'a> Glb<'a>
impl<'a> Glb<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Glb<'a>
impl<'a> Send for Glb<'a>
impl<'a> Sync for Glb<'a>
impl<'a> Unpin for Glb<'a>
impl<'a> UnwindSafe for Glb<'a>
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