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]
impl<T> Index<T>Trait Implementations
impl<T: Clone> Clone for Index<T>[src]
impl<T: Clone> Clone for Index<T>fn clone(&self) -> Index<T>[src]
fn clone(&self) -> Index<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T: Copy> Copy for Index<T>[src]
impl<T: Copy> Copy for Index<T>impl<T> Serialize for Index<T>[src]
impl<T> Serialize for Index<T>fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, Serialize this value into the given Serde serializer. Read more
impl<'de, T> Deserialize<'de> for Index<T>[src]
impl<'de, T> Deserialize<'de> for Index<T>fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl<T> Debug for Index<T>[src]
impl<T> Debug for Index<T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T> Display for Index<T>[src]
impl<T> Display for Index<T>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: Validate> Validate for Index<T> where
Root: Get<T>, [src]
impl<T: Validate> Validate for Index<T> where
Root: Get<T>, fn validate_minimally<P, R>(&self, root: &Root, path: P, report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), [src]
fn validate_minimally<P, R>(&self, root: &Root, path: P, report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), Validates only the invariants required for the library to function safely.
fn validate_completely<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), [src]
fn validate_completely<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), Validates the data against the glTF 2.0 specification. Read more