Trait gltf_json::root::Get

source ·
pub trait Get<T> {
    // Required method
    fn get(&self, id: Index<T>) -> Option<&T>;
}
Expand description

Helper trait for retrieving top-level objects by a universal identifier.

Required Methods§

source

fn get(&self, id: Index<T>) -> Option<&T>

Retrieves a single value at the given index.

Implementors§

source§

impl<'a> Get<View> for Root

source§

impl<'a> Get<Accessor> for Root

source§

impl<'a> Get<Animation> for Root

source§

impl<'a> Get<Buffer> for Root

source§

impl<'a> Get<Camera> for Root

source§

impl<'a> Get<Image> for Root

source§

impl<'a> Get<Material> for Root

source§

impl<'a> Get<Mesh> for Root

source§

impl<'a> Get<Node> for Root

source§

impl<'a> Get<Scene> for Root

source§

impl<'a> Get<Skin> for Root

source§

impl<'a> Get<Texture> for Root

source§

impl<'a> Get<Sampler> for Root