pub fn view(&self, view: &gltf::buffer::View) -> Option<&[u8]> {
        self.buffer(&view.buffer()).map(|data| {
            let begin = view.offset();
            let end = begin + view.length();
            &data[begin..end]
        })
    }
/// Obtain the contents of a loaded buffer view.
Obtain the contents of a loaded buffer view.
Obtain the contents of a loaded buffer view .
pub fn view(&self, view: &gltf::buffer::View) -> Option<&[u8]> {
        self.buffer(&view.buffer()).map(|data| {
            let begin = view.offset();
            let end = begin + view.length();
            &data[begin..end]
        })
    }
pub fn view ( & self , view : & gltf :: buffer :: View ) -> Option < & [ u8 ] > { self . buffer ( & view . buffer ( ) ) . map ( | data | { let begin = view . offset ( ) ; let end = begin + view . length ( ) ; & data [ begin .. end ] } ) }
Obtain the contents of a loaded buffer view.
Obtain the contents of a loaded buffer view .
&self
view
&gltf::buffer::View
&self
view
&gltf::buffer::View