Struct kgltf::GlTf [−][src]
The root object for a glTF asset.
Fields
extensions_used: Vec<String>
Names of glTF extensions used somewhere in this asset.
extensions_required: Vec<String>
Names of glTF extensions required to properly load this asset.
accessors: Vec<Accessor>
An array of accessors.
animations: Vec<Animation>
An array of keyframe animations.
asset: Asset
Metadata about the glTF asset.
buffers: Vec<Buffer>
An array of buffers.
buffer_views: Vec<BufferView>
An array of bufferViews.
cameras: Vec<Camera>
An array of cameras.
images: Vec<Image>
An array of images.
materials: Vec<Material>
An array of materials.
meshes: Vec<Mesh>
An array of meshes.
nodes: Vec<Node>
An array of nodes.
samplers: Vec<Sampler>
An array of samplers.
scene: Option<usize>
The index of the default scene.
scenes: Vec<Scene>
An array of scenes.
skins: Vec<Skin>
An array of skins.
textures: Vec<Texture>
An array of textures.
extensions: Option<Extension>
Dictionary object with extension-specific objects.
Trait Implementations
impl Clone for GlTf
[src]
impl Debug for GlTf
[src]
impl<'a> Deserialize<'a> for GlTf
[src]
fn deserialize<D: Deserializer<'a>>(deserializer: &mut D) -> Option<Self>
[src]
impl Serialize for GlTf
[src]
fn serialize<S: Serializer>(&self, serializer: &mut S)
[src]
Auto Trait Implementations
impl RefUnwindSafe for GlTf
impl Send for GlTf
impl Sync for GlTf
impl Unpin for GlTf
impl UnwindSafe for GlTf
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<'a, T> FromJson<'a> for T where
T: Deserialize<'a>,
[src]
T: Deserialize<'a>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToJson for T where
T: Serialize,
[src]
T: Serialize,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,