Trait 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