Struct gltf::json::root::Index [] [src]

pub struct Index<T>(_, _);

Represents an offset into an array of type T owned by the root glTF object.

Methods

impl<T> Index<T>
[src]

Returns the internal offset value.

Trait Implementations

impl<T: Clone> Clone for Index<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Index<T>
[src]

impl<T> Serialize for Index<T>
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de, T> Deserialize<'de> for Index<T>
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<T> Debug for Index<T>
[src]

Formats the value using the given formatter.

impl<T> Display for Index<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Validate> Validate for Index<T> where
    Root: Get<T>, 
[src]

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.